summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2011-06-06 13:24:54 +0000
committergavin <gavin@FreeBSD.org>2011-06-06 13:24:54 +0000
commit248c7ffbdad4e181d2df30faeca35499e28fd060 (patch)
tree71f1947872f8b167a6ef37c01020b7d03ceffe18 /sbin/mount
parent970967dd97cca8ced16a03113dc1e5d3d193cb8b (diff)
downloadFreeBSD-src-248c7ffbdad4e181d2df30faeca35499e28fd060.zip
FreeBSD-src-248c7ffbdad4e181d2df30faeca35499e28fd060.tar.gz
Add another example to mount(8) on using the "-o" argument.
PR: docs/157389 Submitted by: Warren Block <wblock wonkity.com> MFC after: 1 week
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mount.813
1 files changed, 11 insertions, 2 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index 2140b37..fdfd75c 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -28,7 +28,7 @@
.\" @(#)mount.8 8.8 (Berkeley) 6/16/94
.\" $FreeBSD$
.\"
-.Dd April 28, 2011
+.Dd June 6, 2011
.Dt MOUNT 8
.Os
.Sh NAME
@@ -348,7 +348,6 @@ option) may be passed as a comma separated list; these options are
distinguished by a leading
.Dq \&-
(dash).
-Options that take a value are specified using the syntax -option=value.
For example, the
.Nm
command:
@@ -363,6 +362,16 @@ to execute the equivalent of:
/sbin/mount_cd9660 -e /dev/cd0 /cdrom
.Ed
.Pp
+Options that take a value are specified using the -option=value syntax:
+.Bd -literal -offset indent
+mount -t msdosfs -o -u=fred,-g=wheel /dev/da0s1 /mnt
+.Ed
+.Pp
+is equivalent to
+.Bd -literal -offset indent
+/sbin/mount_msdosfs -u fred -g wheel /dev/da0s1 /mnt
+.Ed
+.Pp
Additional options specific to file system types
which are not internally known
(see the description of the
OpenPOWER on IntegriCloud