setterm: add usage() descriptions

Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
docs: setterm.1 add missing options to manual page and remove duplicate

Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
docs: setterm.1 add options compatibility note

Both --option and -option formats are accepted.

Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
docs: setterm.1 clean up manual page groff style

Underline option arguments, and use bold for options.  Avoid use of \f
font style change in paragraphs, but use them when describing options.

Reviewed-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
uuidd: ensure pid file is wrote when it is requested

Earlier for example this 'uuidd --pid /dev/full' worked, now error is
printed about truncating not being possible for character device and
assuming someone would write pid to full disk it should not be go by
unnoticed.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
uuidd: set options to be mutually exclusive

--pid     || --no-pid
--debug   || --quiet
--random  || --time

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
uuidgen: use type definitions from uuid.h

There is no need to re-invent wheel.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
uuidd: do not mix signed type and unsigned code

Both the strtou32_or_err() and alarm() expect timeout to be unsigned.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests: ts_scsi_debug_init skip instead of die

If any of these modprobe commands fails then it's not a broken test.
ALso ts_die often does not work correctly from subtests which should
be fixed someday too.

BTW modprobe dry-run (even the real modprobe) is not reliable.
Moreover now we respect blacklisted modules (-b).

This error handling is not only useful to let the test-suite succeed
on broken systems but also to not fail all "scsi_debug tests" after
just one of them failed to umount something.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests: run tests in deterministic order

Not really needed but it makes debugging of existing build logs
much more easier.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
tests: fix, typo schedutils/cpuset

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
build-sys: add UL_DEFAULT_ENABLE() and $ul_default_estate

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add --disable-all-programs

This is necessary to build only explicitly specified program/library,
for example to build only libblkid.so

   ./configure --disable-all-programs --enable-libblkid

or to build only hwclock(8):

   ./configure --disable-all-programs --enable-hwclock

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add disable-all.conf to config-gen

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: fix UL_BUILD_INIT()

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add missing dependencies to libsmartcols

Signed-off-by: Karel Zak <kzak@redhat.com>
docs: remove obsolete cfdisk.txt

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: split off losetup scsi_debug part

It's a pity that we would skip the whole test if scsi_debug is not
available.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
docs: update howto regards to build-system changes

Signed-off-by: Karel Zak <kzak@redhat.com>
sfdisk: suppress Linux-irrelevant warnings with -L

Sfdisk prints out a warning about extended partition not
starting at a cylinder boundary. Since this is irrelevant
for linux, the -L option should suppress this warning.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>