tests, skip fallocate for unsupported filesystems
libblkid: improve comment

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/colors: care about colors only on tty()

Signed-off-by: Karel Zak <kzak@redhat.com>
Merge branch 'master' of https://github.com/rudimeier/util-linux

* 'master' of https://github.com/rudimeier/util-linux:
  tests, skip fallocate for unsupported filesystems
tests: cleanup fallocate

Signed-off-by: Karel Zak <kzak@redhat.com>
mkswap: remove unnecessary usage output

The usage output changes too often making unnecessarily expected output
in test unstable.  Besides in this case the usage ouput does not even
help user, because invalid swap target size error cannot be fixed by
specificing an option.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests: check swaplabel, and perform more swapon boundary tests

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
build-sys: sort gitignore files

Use 'LC_ALL=C sort -fu' order for all lists.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
docs: add a new command boilerplate code

Having howtos is good, having an working code that can be used as-is to
kickstart a write of a new command is better.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
libfdisk: avoid two compiler warnings about wrong print formats

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
mount: update XFS mount.8 allocsize=

Reported-by: Satoru Takeuchi
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: update GPT partition types

Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid: convert GPT attributes to host endianess

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: (gpt) use entry attributes as bitmap

 * care about endianess
 * don't use by compiler packed struct with bit array for GPT
   attributes, it's more robust use it as bitmap stored in uint64_t.

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: don't report EPIPE

Signed-off-by: Karel Zak <kzak@redhat.com>
include/closestream: don't wipe errno on EPIPE

... the code in close_stdout() is sensitive to EPIPE, so
wipe errno is close_stream() is probably bad idea.

Signed-off-by: Karel Zak <kzak@redhat.com>