Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 444106 Details for
Bug 578390
sys-apps/baselayout should install a completely commented-out fstab
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
fstab.patch (text/plain), 2.48 KB, created by
Mike Gilbert
on 2016-08-25 16:25:43 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2016-08-25 16:25:43 UTC
Size:
2.48 KB
patch
obsolete
>From b1d63a6770bcc79a6176f915b74c6d39fc63eecc Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Thu, 25 Aug 2016 12:16:08 -0400 >Subject: [PATCH 1/2] share.Linux/fstab: comment-out fstab entries by default > >Bug: https://bugs.gentoo.org/578390 >--- > share.Linux/fstab | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/share.Linux/fstab b/share.Linux/fstab >index bc725cc..4c2782e 100644 >--- a/share.Linux/fstab >+++ b/share.Linux/fstab >@@ -25,7 +25,7 @@ > # to "boot" by running: > # # e2label /dev/sda1 boot > # Then the LABEL example below will work for you. >-LABEL=boot /boot ext4 noauto,noatime 1 2 >-LABEL=root / ext4 noatime 0 1 >-LABEL=swap none swap sw 0 0 >-/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 >+#LABEL=boot /boot ext4 noauto,noatime 1 2 >+#LABEL=root / ext4 noatime 0 1 >+#LABEL=swap none swap sw 0 0 >+#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 >-- >2.9.3 > > >From 57aa27d6be902b93d5828afd4fc407d6acaaec02 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Thu, 25 Aug 2016 12:21:05 -0400 >Subject: [PATCH 2/2] share.Linux/fstab: update advice regarding labels > >Also add some notes about UUIDs. >--- > share.Linux/fstab | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-) > >diff --git a/share.Linux/fstab b/share.Linux/fstab >index 4c2782e..62dd22e 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 >-- >2.9.3
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 578390
: 444106