summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-08-25 12:21:05 -0400
committerWilliam Hubbs <williamh@gentoo.org>2016-08-25 13:57:24 -0500
commit89621f070195cab17d2f4ee6f7ac084946bba02a (patch)
treec98941d0756111d5f5c7a0201fa0c9f40c62614f
parentComment out fstab entries by default (diff)
downloadbaselayout-89621f070195cab17d2f4ee6f7ac084946bba02a.tar.gz
baselayout-89621f070195cab17d2f4ee6f7ac084946bba02a.tar.bz2
baselayout-89621f070195cab17d2f4ee6f7ac084946bba02a.zip
share.Linux/fstab: update advice regarding labels and UUIDS
-rw-r--r--share.Linux/fstab14
1 files changed, 6 insertions, 8 deletions
diff --git a/share.Linux/fstab b/share.Linux/fstab
index 4c2782e1..62dd22e5 100644
--- a/share.Linux/fstab
+++ b/share.Linux/fstab
@@ -18,14 +18,12 @@
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3
# filesystems. This just tells the kernel to use the ext4 driver.
#
-# NOTE: You can use full paths to devices like /dev/sda3, but nowadays it is
-# recommended to set labels in the filesystem and mount via that. All
-# modern Linux filesystems should support this functionality. If your
-# boot partition is /dev/sda1 and is ext4, you can set the label of it
-# to "boot" by running:
-# # e2label /dev/sda1 boot
-# Then the LABEL example below will work for you.
+# NOTE: You can use full paths to devices like /dev/sda3, but it is often
+# more reliable to use filesystem labels or UUIDs. See your filesystem
+# documentation for details on setting a label. To obtain the UUID, use
+# the blkid(8) command.
+
#LABEL=boot /boot ext4 noauto,noatime 1 2
-#LABEL=root / ext4 noatime 0 1
+#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
#LABEL=swap none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0