Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Dec 1999 12:20:23 +1000
From:      Stephen McKay <syssgm@detir.qld.gov.au>
To:        Dan Nelson <dnelson@emsphone.com>
Cc:        freebsd-hackers@FreeBSD.ORG, syssgm@detir.qld.gov.au
Subject:   Re: Human readable df 
Message-ID:  <199912010220.MAA06369@nymph.detir.qld.gov.au>
In-Reply-To: <19991130124400.A59749@dan.emsphone.com> from Dan Nelson at "Tue, 30 Nov 1999 12:44:00 -0600"
References:  <199911300657.XAA99880@harmony.village.org> <19991129230436.A6501@badmofo> <199911300730.AAA00409@harmony.village.org> <199911300958.TAA16931@nymph.detir.qld.gov.au> <19991130124400.A59749@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912010220.MAA06369>