From 616352b8400131c0f4fd65476d51de8edcd53d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Mon, 15 Sep 2014 15:09:07 +0200 Subject: [PATCH] rump_fs: disable access time updates Mount all file system with 'noatime' option because it is hardly useful if there is no proper base period. Issue #2558. --- repos/dde_rump/src/server/rump_fs/file_system.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/repos/dde_rump/src/server/rump_fs/file_system.cc b/repos/dde_rump/src/server/rump_fs/file_system.cc index f54caa2ae..30539651b 100644 --- a/repos/dde_rump/src/server/rump_fs/file_system.cc +++ b/repos/dde_rump/src/server/rump_fs/file_system.cc @@ -96,6 +96,9 @@ void File_system::init() struct fs_args args; int opts = check_read_only(fs_type) ? RUMP_MNT_RDONLY : 0; + /* disable access time updates */ + opts |= RUMP_MNT_NOATIME; + args.fspec = (char *)GENODE_DEVICE; if (rump_sys_mount(fs_type.string(), "/", opts, &args, sizeof(args)) == -1) { Genode::error("Mounting '", fs_type, "' file system failed (errno ", errno, " )");