On 05/06/15 15:24, Eric Blake wrote:
> On 06/05/2015 08:08 AM, Michael Felt wrote:
>> Two 'core' commands I use often are df and ls.
>>
>> An easy option (I would hope) to add is '-g' for gigabytes.
>>
>> AIX df:
>>
>> michael@x071:[/usr/bin]/usr/bin/df -g .
>> Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
>> /dev/hd2           3.00      0.18   94%    57355    54% /usr
>> michael@x071:[/usr/bin]
>>
>> CoreUtils df (8.21 - so if 8.22 or 8.23 has added it, please ignore this!)
>>
> 
> We intentionally removed 'df --megabytes' in 8.22 ("megabytes" means
> 1000*1000, but the option turned on 1024*1024), but still have kept 'df
> -m' as an undocumented compatibility hack with BSD.  So extending the
> undocumented hack to support -g for compatibility with AIX is indeed a
> no-brainer.

We'd already rejected that feature since df -g
behaves differently on various platforms.
http://www.gnu.org/software/coreutils/rejected_requests.html

cheers,
Pádraig


Reply via email to