summaryrefslogtreecommitdiff
path: root/sbin/mount
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2016-07-14 17:34:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2016-07-14 17:34:07 +0000
commit555d9a31b7907e439bd0644e610a098f2c920506 (patch)
treec55d982f46492e143b57e9eff61ff4cd790ca0e4 /sbin/mount
parent967c98b126127de2d397d82f49db8bf04e246b94 (diff)
kern.usermount is currently a no-op;
ok deraadt
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.819
1 files changed, 3 insertions, 16 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index a543a64be68..892dc21821a 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.8,v 1.80 2016/06/19 18:43:40 jmc Exp $
+.\" $OpenBSD: mount.8,v 1.81 2016/07/14 17:34:06 jmc Exp $
.\" $NetBSD: mount.8,v 1.11 1995/07/12 06:23:21 cgd Exp $
.\"
.\" Copyright (c) 1980, 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mount.8 8.7 (Berkeley) 3/27/94
.\"
-.Dd $Mdocdate: June 19 2016 $
+.Dd $Mdocdate: July 14 2016 $
.Dt MOUNT 8
.Os
.Sh NAME
@@ -89,20 +89,7 @@ except in the special case of
.Pa / ,
of course
.Pc .
-Only the superuser may mount file systems unless
-.Va kern.usermount
-is nonzero
-.Po
-see
-.Xr sysctl 8
-.Pc ,
-the
-.Ar special
-device
-is readable and writeable by the user attempting the mount,
-and the mount point
-.Ar node
-is owned by the user attempting the mount.
+Only the superuser may mount file systems.
.Pp
The system maintains a list of currently mounted file systems.
If no arguments are given to