On Sun, 22 Apr 2001, Bruce Evans wrote:

> In FreeBSD, mount privilege is controlled by the vfs.usermount
> sysctl (default: off), so df must still be setgid operator to work
> on devices.
>
> The mount() method is better because can work on work on all types
> of filesystems that the kernel understands, while ufs_df() only
> works for ufs.
>
> [patch]

Although I like the idea of being able to df unmounted, non-ufs
filesystems, I think the tradeoff might be too harsh.

Non-root users aren't allowed to mount(2) at all if vfs.usermount=0,
operator or no operator -- that is, in this case, df would fail for
non-root users.

-Paul.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to