coreutils
[Top][All Lists]
Advanced

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

Re: Some options I would like to see on AIX


From: Michael Felt
Subject: Re: Some options I would like to see on AIX
Date: Fri, 5 Jun 2015 18:36:46 +0200



On Fri, Jun 5, 2015 at 6:22 PM, Pádraig Brady <address@hidden> wrote:
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

I found (your?) bug-report reply at http://lists.gnu.org/archive/html/bug-coreutils/2009-12/msg00002.html

And understand a bit of the history. Maybe AIX has df -g because of it's BSD affinity that goes back a long, long time.

AIX does have a -g option for du.

And now that I have been reading configure --help, I may just remove df/du from the coreutils I package (and figure out a way to supply them as an optional addition) using --enable-no-install-program="df,du". This will certainly resolve my problem with wanting to use df -g nad having to type /us/bin/df -g to get it when I need it. :)


reply via email to

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