Subject: kern/1255: union fs shows more disk space than actually exists
To: None <gnats-bugs@NetBSD.ORG>
From: Kenneth Stailey <kstailey@gnu.ai.mit.edu>
List: netbsd-bugs
Date: 07/22/1995 17:03:38
>Number:         1255
>Category:       kern
>Synopsis:       union fs shows more disk space than actually exists
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 22 17:20:01 1995
>Last-Modified:
>Originator:     Kenneth Stailey
>Organization:
DOL/ESA/DASM
>Release:        Thr July 20, 1995
>Environment:
	
System: NetBSD duality.gnu.ai.mit.edu 1.0A NetBSD 1.0A (DUALITY) #36: Thu Jun 8 20:06:18 EDT 1995 mycroft@duality.gnu.ai.mit.edu:/build/src/sys/arch/hp300/compile/DUALITY hp300
(not that it matters)

>Description:
	When using union mounts with only one drive, df shows more
disk space than actually exists on that one drive.
>How-To-Repeat:
pluto% df
Filesystem           1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a                65394    43548    18576    70%    /
/dev/sd1a               560532   418195   114310    79%    /usr
kernfs                       1        1        0   100%    /kern
procfs                       4        4        0   100%    /proc
portal:16                    1        1        0   100%    /p
mfs:19                    7647        3     7261     0%    /tmp
[below]:/usr/src       1121064   836390   228620    79%    /usr/patches
[below]:/usr/patches   1681596  1254585   342930    79%    /usr/obj/i386
                       ^^^^^^^  ^^^^^^^   ^^^^^^
                        don't      I       wish!

P.S. I changed the angle brackets to square brackets so that send-pr would
not eat them.
>Fix:
Sorry, no fix yet.
	
>Audit-Trail:
>Unformatted: