From 7b773cc0666c4021ce040cf8a5fe37198278962e Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sat, 7 Mar 2020 13:41:48 +0100 Subject: [PATCH] laptop-mode: remount disks with noatime option when laptop-mode activates --- .../conf.d/board-specific/custom-mount-noatime.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/includes.chroot/etc/laptop-mode/conf.d/board-specific/custom-mount-noatime.conf diff --git a/config/includes.chroot/etc/laptop-mode/conf.d/board-specific/custom-mount-noatime.conf b/config/includes.chroot/etc/laptop-mode/conf.d/board-specific/custom-mount-noatime.conf new file mode 100644 index 0000000..4d400f2 --- /dev/null +++ b/config/includes.chroot/etc/laptop-mode/conf.d/board-specific/custom-mount-noatime.conf @@ -0,0 +1,9 @@ +# Should laptop mode tools add the "noatime" option to the mount options when +# laptop mode is enabled? +# +CONTROL_NOATIME=1 + +# Should laptop use relatime instead of noatime? The "relatime" mount option has +# more standards-compliant semantics, and allows more applications to work, +# while retaining a low level of atime updates (i.e., disk writes). +USE_RELATIME=0