diff options
| author | riastradh <riastradh@NetBSD.org> | 2023-06-18 18:16:40 +0000 |
|---|---|---|
| committer | riastradh <riastradh@NetBSD.org> | 2023-06-18 18:16:40 +0000 |
| commit | cefc8db22989700dc6d2a3f0e999e0cf8ecef04e (patch) | |
| tree | bdc1ce9f24122d594bde03e4d61c5b503168dbd2 /share | |
| parent | ae76c929ac2a63e0699e609ebed39e875d58f804 (diff) | |
sysctl(7): Note nodev,nosuid requirement for user-mounted fs.
While here, tidy up language and markup a smidge.
Diffstat (limited to 'share')
| -rw-r--r-- | share/man/man7/sysctl.7 | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/share/man/man7/sysctl.7 b/share/man/man7/sysctl.7 index 51f1016160a..d5a0b16ca4d 100644 --- a/share/man/man7/sysctl.7 +++ b/share/man/man7/sysctl.7 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.164 2023/05/29 23:30:47 gutteridge Exp $ +.\" $NetBSD: sysctl.7,v 1.165 2023/06/18 18:16:40 riastradh Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -142,13 +142,24 @@ The highest valid file system type number. Returns configuration information about the file system type given as a fourth level identifier. .It Li vfs.generic.usermount ( Dv VFS_USERMOUNT ) -Determines if non superuser mounts are allowed, defaults to -.Dv 0 . +Controls whether users other than the super-user can mount file +systems. +Defaults to +.Li 0 , +so only the super-user can mount file systems. +.Pp +File systems mounted by unprivileged users must be mounted with the +.Li nodev +and +.Li nosuid +.Xr mount 8 +options. .It Li vfs.generic.magiclinks ( Dv VFS_MAGICLINKS ) -Controls if expansion of variables is going to be performed on pathnames -or not. -Defaults to no variable expansion, -.Dv 0 . +Controls whether expansion of variables is going to be performed on +pathnames or not. +Defaults to +.Li 0 , +no variable expansion. Variables are of the form .Li @name and the variables supported are described in |
