zramctl: add details to --size option documentation

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
zramctl: fail status printout when device does not exist

Signed-off-by: Karel Zak <kzak@redhat.com>
zramctl: improve error message

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: cannonicalize devname when no fullpath specified

Signed-off-by: Karel Zak <kzak@redhat.com>
zramctl: add bash completion script

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
zramctl: improve option combination error messaging

Use of --algorithm or --streams is not expected to work without
reseting device, that happens when --size is specified, so ensure the
former options to be combined with the later.

[kzak@redhat.com: - make it more generic]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
lscpu: clean up vmware inline asm

This code is not PIC clean which means it fails to build on hardened
32bit x86 systems (i.e. building as PIE).

While here, optimize the existing cpuid logic slightly.

URL: https://bugs.gentoo.org/518936
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
textual: remove some inconsistent periods from error messages

While doing so, also improve translatability and some wordings.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
swapon: remove invalid error string print outs

To avoid messages like this:

$ swapon /dev/zram0
swapon: /dev/zram0: read swap header failed: Success

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests: make ipcs limit calculations work when numbers are large

Test suite  failed when I ran it with kernel 3.16.  Error is the
following.

tests/ts/ipcs/limits2: line 31: [: 18446744073692774399: integer expression expected

Reference: http://lkml.iu.edu/hypermail/linux/kernel/1406.0/01869.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Fix bash-completion Makemodule options
libblkid: (gpt) fix PT offset

Signed-off-by: Karel Zak <kzak@redhat.com>
lib/colors: add function to return color from scheme

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: remove dependence on libsmartcols

It's application business to convert libfdisk_table to string.

Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk: rename fdisk_column to fdisk_field

.. to make the API and fdisk(s) code more readable.

Signed-off-by: Karel Zak <kzak@redhat.com>
libs/debug: accept human readable names for _DEBUG=

For example
	$ LIBMOUNT_DEBUG=tab,cache findmnt

to debug only TAB and CACHE subsystem.

Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/debug: make masknames optional

Signed-off-by: Karel Zak <kzak@redhat.com>
include/debug: cleanup masks

Signed-off-by: Karel Zak <kzak@redhat.com>
include/debug: allow to speficy empty masknames

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

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