From: Bernhard Voelker <mail@bernhard-voelker.de>
To: kerolasa@gmail.com
Cc: Sami Kerola <kerolasa@iki.fi>, util-linux <util-linux@vger.kernel.org>
Subject: Re: [pull] /run directory and swapon
Date: Thu, 28 Jun 2012 08:21:24 +0200 [thread overview]
Message-ID: <4FEBF7E4.5080606@bernhard-voelker.de> (raw)
In-Reply-To: <4FEBEF93.8000107@bernhard-voelker.de>
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
next prev parent reply other threads:[~2012-06-28 6:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-27 21:33 [pull] /run directory and swapon Sami Kerola
2012-06-28 5:45 ` Bernhard Voelker
2012-06-28 6:21 ` Bernhard Voelker [this message]
2012-06-28 8:06 ` Sami Kerola
2012-07-10 9:56 ` Karel Zak
2012-06-29 3:38 ` Mike Frysinger
2012-06-30 20:59 ` Sami Kerola
2012-07-10 10:08 ` Karel Zak
2012-07-10 11:10 ` Karel Zak
2012-07-10 11:56 ` Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FEBF7E4.5080606@bernhard-voelker.de \
--to=mail@bernhard-voelker.de \
--cc=kerolasa@gmail.com \
--cc=kerolasa@iki.fi \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.