From owner-freebsd-hackers Mon Nov 29 22:57:22 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 3DCFE14A08 for ; Mon, 29 Nov 1999 22:57:19 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id XAA07452; Mon, 29 Nov 1999 23:57:17 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id XAA99880; Mon, 29 Nov 1999 23:57:48 -0700 (MST) Message-Id: <199911300657.XAA99880@harmony.village.org> To: matt@csis.gvsu.edu Subject: Re: Human readable df Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Mon, 29 Nov 1999 23:04:36 EST." <19991129230436.A6501@badmofo> References: <19991129230436.A6501@badmofo> Date: Mon, 29 Nov 1999 23:57:48 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <19991129230436.A6501@badmofo> matt@csis.gvsu.edu writes: : [badmofo@/home/matt] df -h : Filesystem Size Used Avail Capacity Mounted on : /dev/wd0s1a 722M 20M 644M 3% / : /dev/wd0s2h 9.9G 4.4G 4.8G 48% /usr : procfs 4.0K 4.0K 0B 100% /proc Note, this uses the "traditional computer science SI extention" units. Where M == 1 << 20, G == 1 << 30, etc. Disk drive manufacturers use the real SI units where M == 10 ^ 6, G == 10 ^ 9, etc. There are new Si units for the old traditional CS SI units, but I don't like them :-) It also appears that this patch ignores blocksize, but maybe that's something that I've missed somehow... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message