From: Benno Schulenberg Date: Mon, 14 Jul 2014 09:02:59 +0000 (+0200) Subject: docs: many tiny formatting and wording improvements to man page of mount X-Git-Tag: v2.25~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3711f11307fdf2842c54fcbb8491ef9e9c65f308;p=thirdparty%2Futil-linux.git docs: many tiny formatting and wording improvements to man page of mount Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index fc8225a86e..9723c3b931 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -29,7 +29,7 @@ .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. .\" .\" -.TH MOUNT 8 "January 2012" "util-linux" "System Administration" +.TH MOUNT 8 "July 2014" "util-linux" "System Administration" .SH NAME mount \- mount a filesystem .SH SYNOPSIS @@ -47,7 +47,7 @@ mount \- mount a filesystem .B mount .RB [ \-fnrsvw ] .RB [ \-o -.IR option [ \fB,\fPoption ]...] +.IR option [ \fB,\fIoption ]...] .IR device | dir .LP .B mount @@ -61,16 +61,16 @@ mount \- mount a filesystem All files accessible in a Unix system are arranged in one big tree, the file hierarchy, rooted at .BR / . -These files can be spread out over several devices. The +These files can be spread out over several devices. The .B mount command serves to attach the filesystem found on some device -to the big file tree. Conversely, the +to the big file tree. Conversely, the .BR umount (8) command will detach it again. The standard form of the .B mount -command, is +command is: .RS .br @@ -92,7 +92,7 @@ the pathname refers to the root of the filesystem on .IR device . -If only directory or device is given, for example: +If only the directory or the device is given, for example: .RS .br @@ -100,12 +100,13 @@ If only directory or device is given, for example: .br .RE -then mount looks for a mountpoint and if not found then for a device in the -/etc/fstab file. It's possible to use +then \fBmount\fR looks for a mountpoint (and if not found then for a device) in the +.IR /etc/fstab +file. It's possible to use the .B \-\-target or .B \-\-source -options to avoid ambivalent interpretation of the given argument. For example +options to avoid ambivalent interpretation of the given argument. For example: .RS .br @@ -115,64 +116,60 @@ options to avoid ambivalent interpretation of the given argument. For example .RE -.B The listing and help. +.B The listing. .RS The listing mode is maintained for backward compatibility only. -For more robust and definable output use +For more robust and customizable output use .BR findmnt (8), -\fBespecially in your scripts\fP. Note that control characters in the +\fBespecially in your scripts\fP. Note that control characters in the mountpoint name are replaced with '?'. -.TP +The following command lists all mounted filesystems (of type +.IR type ): + +.RS +.br .BR "mount " [ \-l "] [" "\-t \fItype\/\fP" ] -lists all mounted filesystems (of type -.IR type ). -The option \-l adds the labels in this listing. -See below. +.br +.RE + +The option \fB\-l\fR adds labels to this listing. See below. .RE .B The device indication. .RS -Most devices are indicated by a file name (of a block special device), like +Most devices are indicated by a filename (of a block special device), like .IR /dev/sda1 , -but there are other possibilities. For example, in the case of an NFS mount, +but there are other possibilities. For example, in the case of an NFS mount, .I device may look like .IR knuth.cwi.nl:/dir . -It is possible to indicate a block special device using its -filesystem -.B LABEL -or -.B UUID -(see the \-L and \-U options below) and -partition -.B PARTUUID -or -.B PARTLABEL -(partition identifiers are supported for example for GUID Partition Table (GPT) -partition tables). +It is also possible to indicate a block special device using its filesystem label +or UUID (see the \fB\-L\fR and \fB\-U\fR options below), or its partition label +or UUID. (Partition identifiers are supported for example for GUID Partition +Tables (GPT).) Don't forget that there is no guarantee that UUIDs and labels are really unique, especially if you move, share or copy the device. Use .B "lsblk \-o +UUID,PARTUUID" to verify that the UUIDs are really unique in your system. -The recommended setup is to use tags (e.g. LABEL=