Subject: Re: df(1) on unmounted device works improperly
To: Peter Seebach <>
From: Greywolf <>
List: current-users
Date: 03/17/2003 22:19:14
Thus spake Peter Seebach ("PS> ") sometime Today...

PS> >One used to be able to run df on an unmounted fs, accessing it via
PS> >the block (or was it the char?) special device, showing no mount point
PS> >associated with it, but giving the correct stats for the filesystem
PS> >in question.
PS> You could?  That's weird.  I would have expected to get the df stats for
PS> the nearest enclosing filesystem, same as for any other file.

It was the block device.  Works under Solaris, worked under SunOS and,
in fact, BSD 4.3.

PS> -s

NetBSD: An Operating System For Everyone