Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 1998 00:21:56 -0800
From:      John-Mark Gurney <gurney_j@efn.org>
To:        Kevin Day <toasty@home.dragondata.com>
Cc:        toasty@dragondata.com, freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/5870
Message-ID:  <19980228002156.26144@hydrogen.nike.efn.org>
In-Reply-To: <199802280801.CAA01130@home.dragondata.com>; from Kevin Day on Sat, Feb 28, 1998 at 02:01:43AM -0600
References:  <199802280754.XAA04233@freefall.freebsd.org> <199802280801.CAA01130@home.dragondata.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin Day scribbled this message on Feb 28:
> > Synopsis: df(1) gives values over 100%
> > 
> > State-Changed-From-To: open-closed
> > State-Changed-By: jmg
> > State-Changed-When: Fri Feb 27 23:51:05 PST 1998
> > State-Changed-Why: 
> > this is actually normal behavior for ffs filesystems...  they reserve
> > part of the space for optimization on storing the files...
> > 
> > if you notice:
> > 169969 + 2582044 = 2752013 and not 2991318 as the total says...  it
> > prevents a user from using all the disk space and then the root user
> > not being able to do anything about it...
> > 
> 
> Can this be documented in the man page then? :)

ahh.. but it is... from newfs(8):
     -m free space %
                 The percentage of space reserved from normal users; the mini-
                 mum free space threshold.  The default value used is defined
                 by MINFREE from <ufs/ffs/fs.h>, currently 8%.  See tunefs(8)
                 for more details on how to set this option.

> I understand there being a percentage reserved for root, but, I guess I
> didn't realize that df took that out.
> 
> In any case, it seems technically incorrect to have a filesystem being 108%
> used, agreed? :)

so? what do you propose?  have df report incorrect values and report
it only 100% used when it really is 108% used?  I can't see how modifing
the current behavior will improve it...  because if you modify it to
report it over the total usage, then the number only is useful for root
and not for the normal user (which uses it more)...

-- 
  John-Mark Gurney                          Modem/FAX: +1 541 683 6954
  Cu Networking					  P.O. Box 5693, 97405

  Live in Peace, destroy Micro$oft, support free software, run FreeBSD
	    Don't trust anyone you don't have the source for

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



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