]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/swapon.8
swapon: add --show option
authorSami Kerola <kerolasa@iki.fi>
Sun, 24 Jun 2012 20:43:48 +0000 (22:43 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 10 Jul 2012 11:41:59 +0000 (13:41 +0200)
commite076b5526f52e59a8b9f35186e3753a206899694
tree11e85bdd4b657dffa8a5905b54147984ec9df8a6
parent11935cd3fc6c729d82bff5a8174566ce3730e1c4
swapon: add --show option

The --show uses lib/tt.c, which allows user to specify columns he is
interested of, and avoids using hard coded field sizes which may be
problematic when system has large enough swap.

[kzak@redhat.com: - improve usage(), remove unused code]

Cc: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/swapon.8
sys-utils/swapon.c