From 287a1db114b966e86a99c7cf596065992736b7c0 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 31 Aug 2017 20:34:02 -0700 Subject: fstab: add noatime to rootfs mount flags We rely on the init system to remount the root file system read-only, which makes the mount flags for the rootfs in fstab relevant. Since we run on flash drives minimize write cycles by disabling atime by by default. Signed-off-by: Stefan Agner Acked-by: Max Krummenacher --- recipes-core/base-files/base-files/fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/base-files/base-files/fstab b/recipes-core/base-files/base-files/fstab index 739b844..ab73d00 100644 --- a/recipes-core/base-files/base-files/fstab +++ b/recipes-core/base-files/base-files/fstab @@ -1,6 +1,6 @@ # stock fstab - you probably want to override this with a machine specific one -/dev/root / auto defaults 1 1 +/dev/root / auto noatime 1 1 proc /proc proc defaults 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 usbdevfs /proc/bus/usb usbdevfs noauto 0 0 -- cgit v1.2.3