[Top][All Lists]

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

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

From: Pádraig Brady
Subject: Re: REQ: -g for --block-size=1G
Date: Mon, 8 Dec 2008 10:26:57 +0000
User-agent: Thunderbird (X11/20071008)

Greg wrote:
> On Sat, Dec 6, 2008 at 11:48 AM, Eric Blake <address@hidden> wrote:
>> 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?
> FreeBSD 6.2:
>      -g      Use 1073741824-byte (1-Gbyte) blocks rather than the default.
>              Note that this overrides the BLOCKSIZE specification from the
>              environment.

I would have said df -h suffices.
But since Mac OS X has -g I suppose we could add it.
We'll almost definitely not add a -g to mean anything else
because it's already used on other systems.

Would we also add a -g option to `du` for consistency?
Mac OS X' `du` doesn't have the -g option?


reply via email to

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