Doesn't relatime still update the time if the file is 1 day old (regardless of modication time), and the current tmpfiles wipes files that are older by 10 days?

> Since Linux 2.6.30, the kernel defaults to the behavior provided by this option (unless |noatime| was specified), and the |strictatime| option is required to obtain traditional semantics. In addition, since Linux 2.6.30, the file's last access time is always updated if it is more than 1 day old.
>
> http://manpages.courier-mta.org/htmlman8/*mount*.8.html

On 29/04/2015 10:22 PM, Lennart Poettering wrote:
On Wed, 29.04.15 22:08, Roger Qiu (roger....@polycademy.com) wrote:

Hi Lennart,

So there really isn't a fast of way just checking if a file has an open file
descriptor on it?

Sometimes atime is on relatime, so it only gets updated if modification is
earlier.
Using relatime is fine, except for /tmp and /var/tmp really. Setting
the flag for those file systems is really a poor choice, since it
breaks "aging" things there...

Lennart


--
Founder of Matrix AI
http://matrix.ai/
+61420925975

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to