From owner-freebsd-hackers Tue Nov 30 18:29:38 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ren.detir.qld.gov.au (ns.detir.qld.gov.au [203.46.81.66]) by hub.freebsd.org (Postfix) with ESMTP id EF40C14CD1 for ; Tue, 30 Nov 1999 18:29:34 -0800 (PST) (envelope-from syssgm@detir.qld.gov.au) Received: by ren.detir.qld.gov.au; id MAA25270; Wed, 1 Dec 1999 12:28:53 +1000 (EST) Received: from ogre.detir.qld.gov.au(167.123.8.3) via SMTP by ren.detir.qld.gov.au, id smtpd025249; Wed Dec 1 12:28:44 1999 Received: from atlas.detir.qld.gov.au (atlas.detir.qld.gov.au [167.123.8.9]) by ogre.detir.qld.gov.au (8.8.8/8.8.7) with ESMTP id MAA10078; Wed, 1 Dec 1999 12:20:25 +1000 (EST) Received: from nymph.detir.qld.gov.au (nymph.detir.qld.gov.au [167.123.10.10]) by atlas.detir.qld.gov.au (8.8.5/8.8.5) with ESMTP id MAA00085; Wed, 1 Dec 1999 12:20:24 +1000 (EST) Received: from nymph.detir.qld.gov.au (localhost [127.0.0.1]) by nymph.detir.qld.gov.au (8.9.3/8.8.7) with ESMTP id MAA06369; Wed, 1 Dec 1999 12:20:23 +1000 (EST) (envelope-from syssgm@nymph.detir.qld.gov.au) Message-Id: <199912010220.MAA06369@nymph.detir.qld.gov.au> To: Dan Nelson Cc: freebsd-hackers@FreeBSD.ORG, syssgm@detir.qld.gov.au Subject: Re: Human readable df 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> In-Reply-To: <19991130124400.A59749@dan.emsphone.com> from Dan Nelson at "Tue, 30 Nov 1999 12:44:00 -0600" Date: Wed, 01 Dec 1999 12:20:23 +1000 From: Stephen McKay Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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