summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-07-07 08:55:07 +0200
committerSam James <sam@gentoo.org>2023-07-08 05:02:56 +0100
commitaaf5ebb65b16fd41877a04cde82fdd3d8cc90cfb (patch)
treeec088a5776505af585fce96ba25dd0266e6848d9
parentpasswd: update home directory for portage user (diff)
downloadbaselayout-aaf5ebb65b16fd41877a04cde82fdd3d8cc90cfb.tar.gz
baselayout-aaf5ebb65b16fd41877a04cde82fdd3d8cc90cfb.tar.bz2
baselayout-aaf5ebb65b16fd41877a04cde82fdd3d8cc90cfb.zip
share/fstab: drop reiserfs references and noatime, use defaults
ReiserFS was deprecated in Linux 5.18 and slated for removal in 2025. Using 'noatime' does seldom really bring any noticeable performance benefit. The default of 'relatime', which Linux supports for a long time, is a good compromise. Having an (coarse-grained) atime allows for certain use cases. For example, a tool that detects unused packages in a system and suggest them for removal. A generic configuration file like this should simply use the defaults. Especially if those are sane ones. No need to continue the noatime cargo cult. Signed-off-by: Florian Schmaus <flow@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--share/fstab11
1 files changed, 2 insertions, 9 deletions
diff --git a/share/fstab b/share/fstab
index 62dd22e5..7fd7852e 100644
--- a/share/fstab
+++ b/share/fstab
@@ -1,10 +1,4 @@
# /etc/fstab: static file system information.
-#
-# noatime turns off atimes for increased performance (atimes normally aren't
-# needed); notail increases performance of ReiserFS (at the expense of storage
-# efficiency). It's safe to drop the noatime options if you want and to
-# switch between notail / tail freely.
-#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
@@ -13,7 +7,6 @@
# <fs> <mountpoint> <type> <opts> <dump/pass>
-# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#
# 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.
@@ -23,7 +16,7 @@
# documentation for details on setting a label. To obtain the UUID, use
# the blkid(8) command.
-#LABEL=boot /boot ext4 noauto,noatime 1 2
-#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 noatime 0 1
+#LABEL=boot /boot ext4 defaults 1 2
+#UUID=58e72203-57d1-4497-81ad-97655bd56494 / ext4 defaults 0 1
#LABEL=swap none swap sw 0 0
#/dev/cdrom /mnt/cdrom auto noauto,ro 0 0