aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_unionfs
diff options
context:
space:
mode:
authorChristian Brueffer <brueffer@FreeBSD.org>2004-07-18 01:51:59 +0000
committerChristian Brueffer <brueffer@FreeBSD.org>2004-07-18 01:51:59 +0000
commit64dc8bf78043fb08806f61fcddd5a9e34a17cba4 (patch)
tree3821d474f6b76c5fde4cefd5cd09f51c167789e2 /sbin/mount_unionfs
parent2260c03d77cc9130374e042bebfe8c56594fba1d (diff)
downloadsrc-64dc8bf78043fb08806f61fcddd5a9e34a17cba4.tar.gz
src-64dc8bf78043fb08806f61fcddd5a9e34a17cba4.zip
Mention the vfs.usermount sysctl.
Obtained from: NetBSD via DragonFly BSD MFC after: 3 days
Notes
Notes: svn path=/head/; revision=132326
Diffstat (limited to 'sbin/mount_unionfs')
-rw-r--r--sbin/mount_unionfs/mount_unionfs.84
1 files changed, 4 insertions, 0 deletions
diff --git a/sbin/mount_unionfs/mount_unionfs.8 b/sbin/mount_unionfs/mount_unionfs.8
index 2a41aa6d3a09..4232a44f4e28 100644
--- a/sbin/mount_unionfs/mount_unionfs.8
+++ b/sbin/mount_unionfs/mount_unionfs.8
@@ -87,6 +87,10 @@ Hide the lower layer completely in the same way as mounting with
To enforce file system security, the user mounting the file system
must be superuser or else have write permission on the mounted-on
directory.
+In addition, the
+.Em vfs.usermount
+.Xr sysctl 3
+variable must be set to 1 to permit file system mounting by ordinary users.
.Pp
Filenames are looked up in the upper layer and then in the
lower layer.