Date: Sun, 29 May 2011 00:24:50 GMT From: Warren Block <wblock@wonkity.com> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/157389: [patch] mount.8: add example of option values for other mount programs Message-ID: <201105290024.p4T0Oovw082547@red.freebsd.org> Resent-Message-ID: <201105290030.p4T0UC8V077977@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157389 >Category: docs >Synopsis: [patch] mount.8: add example of option values for other mount programs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun May 29 00:30:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Warren Block >Release: 8-stable >Organization: >Environment: FreeBSD lightning 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat May 21 15:01:13 MDT 2011 root@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 >Description: mount.8 shows an example of a simple option passed to mount_cd9660 and describes but does not show how to pass options with values to other /sbin/mount_* programs. >How-To-Repeat: Read mount.8. >Fix: Apply patch. Patch attached with submission follows: --- /usr/src/sbin/mount/mount.8.orig 2011-05-28 18:11:16.000000000 -0600 +++ /usr/src/sbin/mount/mount.8 2011-05-28 18:20:13.000000000 -0600 @@ -348,7 +348,6 @@ 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 @@ /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 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105290024.p4T0Oovw082547>