From owner-freebsd-current Thu Jul 6 3:51: 5 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (Postfix) with ESMTP id AC9B337B564; Thu, 6 Jul 2000 03:50:56 -0700 (PDT) (envelope-from akm@mail.theinternet.com.au) Received: (from akm@localhost) by mail.theinternet.com.au (8.9.3/8.9.3) id UAA22625; Thu, 6 Jul 2000 20:48:46 +1000 (EST) (envelope-from akm) From: Andrew Kenneth Milton Message-Id: <200007061048.UAA22625@mail.theinternet.com.au> Subject: Re: bin/19635: add -c for grand total to df(1), like du(1) does In-Reply-To: <16565.962880093@axl.ops.uunet.co.za> from Sheldon Hearn at "Jul 6, 2000 12:41:33 pm" To: Sheldon Hearn Date: Thu, 6 Jul 2000 20:48:46 +1000 (EST) Cc: current@FreeBSD.ORG, mharo@FreeBSD.ORG, obrien@FreeBSD.ORG, Mike Meyer X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG +----[ Sheldon Hearn ]--------------------------------------------- | | As a side issue, can anyone explain these peculiar results from df(1)'s | huamn-readable (-h) output: | | Filesystem Size Used Avail Capacity Mounted on | mfs:26 87M 11K 80M 0% /tmp | /dev/ad0s1f 1.2G 934M 241M 80% /usr | /dev/ad0s1e 193M 92M 86M 52% /var | /dev/ccd0c 1.8G 786M 900M 47% /a | /dev/ad1s1e 1.3G 728M 474M 61% /b | procfs 4.0K 4.0K 0B 100% /proc | rodent.ops:/home/ncvs 3.4G 3.1G 36M 99% /usr/home/ncvs | | In particular, I can't believe that 87M - 11K == 80M (I'd expect 86M or | 87M). Nor is it credible that 1.8G - 786 == 900M (I'd expect 1057M or | 1G). | | Am I being obtuse, and if so could someone explain my folly? :-) Those are block available to non-superuser I think, not "just available" There's some amount reserved (10% ?). -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN: 83 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au| To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message