From owner-freebsd-doc@FreeBSD.ORG Sun May 29 00:30:12 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CAC61065675 for ; Sun, 29 May 2011 00:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 619BD8FC17 for ; Sun, 29 May 2011 00:30:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4T0UCgX077978 for ; Sun, 29 May 2011 00:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4T0UC8V077977; Sun, 29 May 2011 00:30:12 GMT (envelope-from gnats) Resent-Date: Sun, 29 May 2011 00:30:12 GMT Resent-Message-Id: <201105290030.p4T0UC8V077977@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Warren Block Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F561106566B for ; Sun, 29 May 2011 00:24:51 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 103A98FC08 for ; Sun, 29 May 2011 00:24:51 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4T0OoBD082548 for ; Sun, 29 May 2011 00:24:50 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4T0Oovw082547; Sun, 29 May 2011 00:24:50 GMT (envelope-from nobody) Message-Id: <201105290024.p4T0Oovw082547@red.freebsd.org> Date: Sun, 29 May 2011 00:24:50 GMT From: Warren Block To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/157389: [patch] mount.8: add example of option values for other mount programs X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2011 00:30:12 -0000 >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: