mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 21:27:56 +00:00
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.
This commit is contained in:
parent
adb00d329f
commit
616352b840
@ -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, " )");
|
||||
|
Loading…
Reference in New Issue
Block a user