On Mon, Nov 15, 2021 at 5:21 AM Greg Wooledge <g...@wooledge.org> wrote:

>        relatime
>               Update inode access times relative to  modify  or  change
> time.
>               Access time is only updated if the previous access time was
> ear‐
>               lier than the  current  modify  or  change  time.
>

I guess that's the important part anyway. But it doesn't look exactly
right: at least on my
system it updates atime also if atime == mtime. So you always get to see if
the file was
read after the last time it was written to.

A newly-created file would have mtime == atime, and if test -N requires
mtime > atime,
it won't find those. Not sure if it should.

Reply via email to