On 06/28/2012 07:45 AM, Bernhard Voelker wrote: > On 06/27/2012 11:33 PM, Sami Kerola wrote: >> + " --inhuman display swap size in bytes in --show output\n" > > Isn't "--inhuman" a bit harsh? And wouldn't it be better to > say what it does instead of what it does not? > E.g. "--bytes"? Ooh, my swap shrinked! ;-) $ ./lsblk /dev/sdb1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb1 8:17 0 2G 0 disk [SWAP] $ ./swapon --show NAME TYPE SIZE USED PRIO /dev/sdb1 partition 2M 11836 0 $ ./swapon --show --inhuman NAME TYPE SIZE USED PRIO /dev/sdb1 partition 2104476 11836 0 I think that's in 1k-blocks, isn't it? $ ./swapon --help | grep USED USED bytes in use Isn't USED not also in blocks? Have a nice day, Berny -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html