Subject: Re: DF ?
To: Paul Goyette <paul@whooppee.com>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 10/05/1999 09:13:58
On Tue, 5 Oct 1999, Paul Goyette wrote:

> I just built a new df from rev 1.33, and still see the problem:

> Filesystem               1K-blocks     Used    Avail Capacity  Mounted on
> /dev/sd0a                   497767   387781    85097    82%    /
> pc2:/usr/src               7584359  3437515  3767626    47%    /usr/src
> pc2:/usr/obj-m68k          7584359  3437515  3767626    47%    /usr/obj
> pc2:/usr/home              7584359  3437515  3767626    47%    /home
> mfs:93                       19791       12    18789     0%    /tmp
> kernfs                           1        1        0   100%    /kern
> procfs                           4        4        0   100%    /proc
> /usr/src/sys/arch/mac68k   7584359  3437515  3767626    47%    /home/paul/slotman-backup
> <above>:/slotman/conf      -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/conf
> <above>:/slotman/dev       -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/dev
> <above>:/slotman/include   -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/include
> <above>:/slotman/mac68k    -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/mac68k
> <above>:/slotman/nubus     -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/nubus
> <above>:/slotman/obio      -259022  -369008    85097    99%    /usr/src/sys/arch/mac68k/obio

That fix was supposed to be for >2G disks. It's looks like there's
still a problem with df and union (?) mounts.

My search of gnats on "union" turned up kern/1255, which apparently
was never resolved completely. How are you supposed to figure the
space on a union fs anyway? I'll grant you that negative numbers feel
wrong. Maybe it should just follow the pattern of kernfs and procfs:
total = used; available = 0?