Web lists-archives.com

Re: atime not updated after 24 hours




Le 02/07/2018 à 14:26, Greg Wooledge a écrit :
On Sat, Jun 30, 2018 at 08:40:02PM +0200, Andre Majorel wrote:
I have two file systems of the same type (ext3) and mounted with
the same options (rw, relatime, data=ordered).

From mount(8):

        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.   (Similar  to
               noatime,  but  it  doesn't break mutt or other applications that
               need to know if a file has been read since the last time it  was
               modified.)

What is your point?
The quote is incomplete. Here is the rest :

        Since Linux 2.6.30, the kernel defaults to the behavior provided
        by this option (unless noatime was  specified), and the stricta-
        time  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.