Subject: bin/24975: dh -h doesn't like full file systems
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <lukem@NetBSD.org>
List: netbsd-bugs
Date: 03/31/2004 01:37:05
>Number: 24975
>Category: bin
>Synopsis: df -h doesn't like full file systems
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Mar 30 15:38:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Luke Mewburn
>Release: NetBSD 1.6ZK
>Organization:
The NetBSD Foundation
>Environment:
System: NetBSD argo 1.6ZK NetBSD 1.6ZK (LUKEM_SERVER from GENERIC-$Revision: 1.594 $) #0: Fri Mar 12 00:08:14 EST 2004 lukem@argo:/var/obj/i386/usr/src/sys/arch/i386/compile/LUKEM_SERVER i386
Architecture: i386
Machine: i386
>Description:
df -h doesn't display the "Avail" field if there's negative
available space:
% df /z /z/backup
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ld0f 31621084 22266084 7773944 74% /z
/dev/ld0h 63191014 62318866 -2287404 103% /z/backup
% df -h /z /z/backup
Filesystem Size Used Avail Capacity Mounted on
/dev/ld0f 30G 21G 7.4G 74% /z
/dev/ld0h 60G 59G 103% /z/backup
^---^
|
notice how Avail is empty for /z/backup?
>How-To-Repeat:
Fill a file system. run 'df -h'.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: