diff options
author | Karel Zak | 2012-04-19 14:40:06 +0200 |
---|---|---|
committer | Karel Zak | 2012-04-19 14:40:06 +0200 |
commit | eb0eb262cb4d757983c83241c5fd93ec5ba6b374 (patch) | |
tree | a64671321784fccda1874b10066b008ddff911f8 /sys-utils/mount.8 | |
parent | lsblk: add support for PARTUUID= and PARTLABEL= (diff) | |
download | kernel-qcow2-util-linux-eb0eb262cb4d757983c83241c5fd93ec5ba6b374.tar.gz kernel-qcow2-util-linux-eb0eb262cb4d757983c83241c5fd93ec5ba6b374.tar.xz kernel-qcow2-util-linux-eb0eb262cb4d757983c83241c5fd93ec5ba6b374.zip |
mount: (new) add support for PARTUUID= and PARTLABEL=
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/mount.8')
-rw-r--r-- | sys-utils/mount.8 | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8 index 73fa367bc..56897e994 100644 --- a/sys-utils/mount.8 +++ b/sys-utils/mount.8 @@ -127,19 +127,25 @@ but there are other possibilities. For example, in the case of an NFS mount, may look like .IR knuth.cwi.nl:/dir . It is possible to indicate a block special device using its -volume +filesystem .B LABEL or .B UUID -(see the \-L and \-U options below). +(see the \-L and \-U options below) and +partition +.B PARTUUID +or +.B PARTLABEL +(partition identifiers are supported for GUID Partition Table (GPT) and MAC +partition tables only). -The recommended setup is to use LABEL=<label> or UUID=<uuid> tags rather than -.B /dev/disk/by-{label,uuid} +The recommended setup is to use tags (e.g. LABEL=<label>) rather than +.B /dev/disk/by-{label,uuid,partuuid,partlabel} udev symlinks in the /etc/fstab file. The tags are more readable, robust and portable. The .BR mount (8) command internally uses udev -symlinks, so use the symlinks in /etc/fstab has no advantage over LABEL=/UUID=. +symlinks, so use the symlinks in /etc/fstab has no advantage over the tags. For more details see .BR libblkid (3). @@ -218,7 +224,7 @@ program does not read the .I /etc/fstab file if .I device -(or LABEL/UUID) and +(or LABEL, UUID, PARTUUID or PARTLABEL) and .I dir are specified. For example: .RS |