From owner-freebsd-bugs Sat Feb 28 00:22:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA12416 for freebsd-bugs-outgoing; Sat, 28 Feb 1998 00:22:06 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from hydrogen.nike.efn.org (d182-89.uoregon.edu [128.223.182.89]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA12410 for ; Sat, 28 Feb 1998 00:22:04 -0800 (PST) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by hydrogen.nike.efn.org (8.8.7/8.8.7) id AAA02429; Sat, 28 Feb 1998 00:21:56 -0800 (PST) Message-ID: <19980228002156.26144@hydrogen.nike.efn.org> Date: Sat, 28 Feb 1998 00:21:56 -0800 From: John-Mark Gurney To: Kevin Day Cc: toasty@dragondata.com, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/5870 References: <199802280754.XAA04233@freefall.freebsd.org> <199802280801.CAA01130@home.dragondata.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <199802280801.CAA01130@home.dragondata.com>; from Kevin Day on Sat, Feb 28, 1998 at 02:01:43AM -0600 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 2.2.1-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 , 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