On Tuesday, 29 August 2023 03:56:55 CEST, Greg Wooledge wrote:

The problem is, most Debian systems are set up to mount the core file
systems with "relatime".  This means you don't have a record of the
last time each file was accessed, so you can't ask the computer which
files were most recently opened.

hm...

i was curious about that and read the man page for 'mount(8)', in section FILESYSTEM-INDEPENDENT MOUNT OPTIONS i found the following:

relatime
             Update inode access times relative to modify or change time.
             Access time is only updated if the previous access time was
             earlier than the current modify or change time. [...]

so my understanding is, that access time is indeed updated if 'relatime' is used as a mount option. to prevent updating access times 'noatime' should be used.

i am happy to be corrected if i should be wrong...

Reply via email to