Subject: Re: df(1) on unmounted device works improperly
To: Greywolf <email@example.com>
From: Simon Burge <firstname.lastname@example.org>
Date: 03/18/2003 17:55:13
> Hey, all,
> with -current kernel and userland as of a week ago (and, it seems, as
> far back as 1.6M, if not farther), df(1) does The Wrong Thing.
This is from:
date: 2002/08/02 08:17:12; author: soren; state: Exp; lines: +4 -113
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 think maybe an acceptable compromise would be to add the code back but
don't add the setgid bit so that the user must have read access to the
device to use the old block query method. Does this sound reasonable?
Simon Burge <email@example.com>
NetBSD Support and Service: http://www.wasabisystems.com/