Find the answer to your Linux question:
Results 1 to 2 of 2
When a file is appended, are only the modify and change times updated, and not the access time? Or is it all 3?...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    9

    Regarding file times

    When a file is appended, are only the modify and change times updated, and not the access time? Or is it all 3?

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by ccd08 View Post
    When a file is appended, are only the modify and change times updated, and not the access time? Or is it all 3?
    The access times should be updated each time the file is opened, in whichever mode.

    The problem is that most distros use the "noatime" mount options by default. Which will obviate the update of the access time, slightly speeding up the file system operations.

    Code:
    $ man mount
    noatime
    Do not update inode access times on this file system
    (e.g, for faster access on the news spool to speed up
    news servers).
    The mount options are usually defined in /etc/fstab.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...