svn commit: r222754 - head/sbin/mount

Gavin Atkinson gavin at FreeBSD.org
Mon Jun 6 13:24:54 UTC 2011


Author: gavin
Date: Mon Jun  6 13:24:54 2011
New Revision: 222754
URL: http://svn.freebsd.org/changeset/base/222754

Log:
  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

Modified:
  head/sbin/mount/mount.8

Modified: head/sbin/mount/mount.8
==============================================================================
--- head/sbin/mount/mount.8	Mon Jun  6 13:21:11 2011	(r222753)
+++ head/sbin/mount/mount.8	Mon Jun  6 13:24:54 2011	(r222754)
@@ -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 separat
 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


More information about the svn-src-all mailing list