Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2000 12:58:27 +0200
From:      Brad Knowles <blk@skynet.be>
To:        Sheldon Hearn <sheldonh@uunet.co.za>, current@FreeBSD.ORG
Cc:        mharo@FreeBSD.ORG, obrien@FreeBSD.ORG, Mike Meyer <mwm@phone.net>
Subject:   Re: bin/19635: add -c for grand total to df(1), like du(1) does
Message-ID:  <v04220803b58a161b72db@[195.238.1.121]>
In-Reply-To: <16565.962880093@axl.ops.uunet.co.za>
References:  <16565.962880093@axl.ops.uunet.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:41 PM +0200 2000/7/6, Sheldon Hearn wrote:

>  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).

	You're ignoring the fact that "Size" is the total physical size 
of the device, while "Used", "Avail", and "Capacity" take into 
account the 10% (or whatever) overhead that is typically left 
unallocated for performance reasons.

	Thus, when "Capacity" shows that ~110% is used, and "Used" == 
"Size", then you are really and truly completely full on that device.

--
   These are my opinions -- not to be taken as official Skynet policy
======================================================================
Brad Knowles, <blk@skynet.be>                || Belgacom Skynet SA/NV
Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124
Phone/Fax: +32-2-706.13.11/12.49             || B-1140 Brussels
http://www.skynet.be                         || Belgium


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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