lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <574d4aad-b786-71bc-18a0-f768a585658a@bootlin.com>
Date:   Thu, 28 Apr 2022 15:45:07 +0200
From:   Michael Opdenacker <michael.opdenacker@...tlin.com>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     michael.opdenacker@...tlin.com
Subject: How to mount the root filesystem with "strictatime"?

Greetings,

Sorry, this is almost a userspace question ;-)

I need to mount my root filesystem in "strictatime" mode, instead of the
"relatime"  default.

Of course, if I pass "rootflags=strictatime" through the kernel command
line, it doesn't work because the kernel only knows about the
"MS_STRICTATIME" define, and not about the "strictatime"  string, which
is a userspace thing:

    2.351189] EXT4-fs (mmcblk0p2): Unrecognized mount option
"strictatime" or missing value

Would there be a way to do this from the kernel command line anyway?
Otherwise, I'll run "mount -o remount,strictatime /" from my startup
scripts.

Thanks
Michael.

-- 
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ