1 |
commit: 89621f070195cab17d2f4ee6f7ac084946bba02a |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 25 16:21:05 2016 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 25 18:57:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=89621f07 |
7 |
|
8 |
share.Linux/fstab: update advice regarding labels and UUIDS |
9 |
|
10 |
share.Linux/fstab | 14 ++++++-------- |
11 |
1 file changed, 6 insertions(+), 8 deletions(-) |
12 |
|
13 |
diff --git a/share.Linux/fstab b/share.Linux/fstab |
14 |
index 4c2782e..62dd22e 100644 |
15 |
--- a/share.Linux/fstab |
16 |
+++ b/share.Linux/fstab |
17 |
@@ -18,14 +18,12 @@ |
18 |
# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3 |
19 |
# filesystems. This just tells the kernel to use the ext4 driver. |
20 |
# |
21 |
-# NOTE: You can use full paths to devices like /dev/sda3, but nowadays it is |
22 |
-# recommended to set labels in the filesystem and mount via that. All |
23 |
-# modern Linux filesystems should support this functionality. If your |
24 |
-# boot partition is /dev/sda1 and is ext4, you can set the label of it |
25 |
-# to "boot" by running: |
26 |
-# # e2label /dev/sda1 boot |
27 |
-# Then the LABEL example below will work for you. |
28 |
+# NOTE: You can use full paths to devices like /dev/sda3, but it is often |
29 |
+# more reliable to use filesystem labels or UUIDs. See your filesystem |
30 |
+# documentation for details on setting a label. To obtain the UUID, use |
31 |
+# the blkid(8) command. |
32 |
+ |
33 |
#LABEL=boot /boot ext4 noauto,noatime 1 2 |
34 |
-#LABEL=root / ext4 noatime 0 1 |
35 |
+#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1 |
36 |
#LABEL=swap none swap sw 0 0 |
37 |
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 |