On Tuesday, 30th November 1999, Dan Nelson wrote:

>In the last episode (Nov 30), Stephen McKay said:
>> If anything, I want a 'df -m' option that does this:
>>
>>[snip]

>Just set BLOCKSIZE to your preferred unit.
>
>$ BLOCKSIZE=1M df
>
>Filesystem          1M-blocks     Used    Avail Capacity  Mounted on
>/dev/da2s2a              7893      759     6502    10%    /
>/dev/da0s1e             51161    40922     6146    87%    /io3
>/dev/da1s1e             43997    32111     8366    79%    /io4
>procfs                      0        0        0   100%    /proc               

I knew this; I just assumed it was well known.  In the same way you could
use "BLOCKSIZE=1K df" instead of "df -k".  But you don't because there's
a convenient command option.  Similarly, I'd rather use "df -m".  I
think it's a low impact solution that will scale to "df -g" in the
future.  Personally, I think "df -h" as proposed is not useful, but
I've given up arguing against additional options that other people like.

And to Thomas: I've used dfspace before on ISC Unix, but never really
liked it.  I prefer df to do what I want.  Am I greedy? :-)

Stephen.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to