bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: REQ: -g for --block-size=1G


From: Eric Blake
Subject: Re: REQ: -g for --block-size=1G
Date: Sat, 06 Dec 2008 09:48:40 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Greg on 12/6/2008 9:41 AM:
> On Fri, Dec 5, 2008 at 6:51 PM, Eric Blake <address@hidden> wrote:
>> Now, with regards to your request about -g - we are very reluctant
>> to add short options without good reason.  If there is another
>> implementation out there using the same letter for the same purpose,
>> then that is a good reason.
> 
> address@hidden:~$ df -g /
> Filesystem  1G-blocks Used Avail Capacity  Mounted on
> /dev/da0s1a         5    0     5     2%    /

All right - now we're getting somewhere.  Since other implementations
already provide -g, that is a strong argument for us adopting it.  But
before GNU coreutils implements -g, we need to determine whether the
FreeBSD uses 1G (1024^3, or 2^30) or 1GB (1000^3, or 10^9) (I'm hoping 1G,
as that would be more consistent with our existing -m as 1M, not 1MB).
Does their man-page clarify anything?

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk6rOgACgkQ84KuGfSFAYBViACfacu3s8hHJU3MbPemQgz5y5Yj
wYQAoLEsn6dEfnuw0gVT0KraRsyppxNo
=T9zJ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]