Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/mount Prominently provide explanation of who is allowed...



details:   https://anonhg.NetBSD.org/src/rev/57386774d916
branches:  trunk
changeset: 514880:57386774d916
user:      gmcgarry <gmcgarry%NetBSD.org@localhost>
date:      Wed Sep 12 21:48:08 2001 +0000

description:
Prominently provide explanation of who is allowed to mount file
systems.

diffstat:

 sbin/mount/mount.8 |  18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 0014774e3b07 -r 57386774d916 sbin/mount/mount.8
--- a/sbin/mount/mount.8        Wed Sep 12 21:05:37 2001 +0000
+++ b/sbin/mount/mount.8        Wed Sep 12 21:48:08 2001 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: mount.8,v 1.31 2001/06/05 11:22:47 wiz Exp $
+.\"    $NetBSD: mount.8,v 1.32 2001/09/12 21:48:08 gmcgarry Exp $
 .\"
 .\" Copyright (c) 1980, 1989, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -75,6 +75,22 @@
 .Ar node
 are given, the disklabel is checked for the filesystem type.
 .Pp
+In
+.Nx ,
+a file system can only be mounted by an ordinary user who owns the
+point
+.Ar node
+and has access to the
+.Ar special
+device (at least read permissions).  In addition, the
+.Em vfs.generic.usermount
+.Xr sysctl 3
+must be set to 1 to permit file system mounting by ordinary users.
+See also
+.Xr sysctl 8 .
+.Pp
+
+
 The system maintains a list of currently mounted file systems.
 If no arguments are given to
 .Nm "" ,



Home | Main Index | Thread Index | Old Index