svn commit: r226321 - stable/8/sbin/mount

Gavin Atkinson gavin at FreeBSD.org
Wed Oct 12 20:36:46 UTC 2011


Author: gavin
Date: Wed Oct 12 20:36:45 2011
New Revision: 226321
URL: http://svn.freebsd.org/changeset/base/226321

Log:
  Merge r222754 from head:
  
    Add another example to mount(8) on using the "-o" argument.
  
  PR:		docs/157389
  Submitted by:	Warren Block <wblock wonkity.com>

Modified:
  stable/8/sbin/mount/mount.8
Directory Properties:
  stable/8/sbin/mount/   (props changed)

Modified: stable/8/sbin/mount/mount.8
==============================================================================
--- stable/8/sbin/mount/mount.8	Wed Oct 12 20:18:13 2011	(r226320)
+++ stable/8/sbin/mount/mount.8	Wed Oct 12 20:36:45 2011	(r226321)
@@ -28,7 +28,7 @@
 .\"     @(#)mount.8	8.8 (Berkeley) 6/16/94
 .\" $FreeBSD$
 .\"
-.Dd February 10, 2010
+.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-stable mailing list