Subject: Re: CVS commit: basesrc/bin/df
To: Soren S. Jorvang <soren@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 08/03/2002 14:28:36
On Fri, Aug 02, 2002 at 11:17:14AM +0300, Soren S. Jorvang wrote:
> Module Name: basesrc
> Committed By: soren
> Date: Fri Aug 2 08:17:13 UTC 2002
>
> Modified Files:
>
> basesrc/bin/df: Makefile df.c
>
> Log Message:
>
> 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...
Oh, and "Yay" for removing the setgid bit. :-)
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Development, Support and Service: http://www.wasabisystems.com/