Subject: Re: CVS commit: basesrc/bin/df
To: Simon Burge <simonb@wasabisystems.com>
From: Soren S. Jorvang <soren@wheel.dk>
List: source-changes
Date: 08/03/2002 17:12:32
On Sun, Aug 04, 2002 at 01:01:01AM +1000, Simon Burge wrote:
> > > I wonder if leaving the code in df.c might not be a good idea.  It may
> > > be useful for df'ing unmounted filesystems if you have appropriate
> > > privledges, and also for df'ing filesystems built by the distrib
> > > tools...
> > 
> > Well, there is always vnd(4).. I think maybe we should take a hint
> > from Linux and have mount(8) transparently allow mounting of files..
> 
> That doesn't help with filesystems built by the distrib tools
> if you're building unpriv'd and don't have root...

True. Arguably that is a bug in vnd(4). I think it would be best
to make accessing unmounted filesystem easier in a more general
way by either making vnd(4) more non-root friendly or extending
makefs(8).

Anyway, for now you can use /usr/sbin/dumpfs as a primitive df for
normal files.


-- 
Soren