<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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?<br>
<br>
> Since Linux 2.6.30, the kernel defaults to the behavior
provided by this option (unless <code class="literal">noatime</code>
was specified), and the <code class="literal">strictatime</code>
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.<br>
><br>
> <cite class="_Rm"><a class="moz-txt-link-freetext" href="http://manpages.courier-mta.org/htmlman8/">http://manpages.courier-mta.org/htmlman8/</a><b>mount</b>.8.html</cite><br>
<br>
<div class="moz-cite-prefix">On 29/04/2015 10:22 PM, Lennart
Poettering wrote:<br>
</div>
<blockquote cite="mid:20150429102226.GA8176@gardel-login"
type="cite">
<pre wrap="">On Wed, 29.04.15 22:08, Roger Qiu (<a class="moz-txt-link-abbreviated" href="mailto:roger.qiu@polycademy.com">roger.qiu@polycademy.com</a>) wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap="">
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
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Founder of Matrix AI
<a class="moz-txt-link-freetext" href="http://matrix.ai/">http://matrix.ai/</a>
+61420925975</pre>
</body>
</html>