Subject: Re: CVS commit: basesrc/bin/df
To: Soren S. Jorvang <soren@wheel.dk>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 08/04/2002 01:01:01
On Sat, Aug 03, 2002 at 04:48:20PM +0200, Soren S. Jorvang wrote:
> On Sat, Aug 03, 2002 at 02:28:36PM +1000, Simon Burge wrote:
> > > Following FreeBSD's example, remove the old pre-statfs(2) code for
> > > examining FFS filesystems directly. This also gets rid of df(1)'s
> > > setgid operator bit.
> > 
> > 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...

Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/