Re: Modifying file access time upon exec...

From: Ken Smith (kensmith_at_cse.Buffalo.EDU)
Date: 05/31/05

  • Next message: M. Warner Losh: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"
    To: Jeremie Le Hen <jeremie@le-hen.org>
    Date: Tue, 31 May 2005 08:35:28 -0400
    
    
    

    On Sun, 2005-05-29 at 18:57 +0200, Jeremie Le Hen wrote:
    > Hi Marc, Ken,
    >
    > > > I'm not sure why you say NFS filesystems can't be mounted with noatime.
    > >
    > > No, I'm saying that there are filesystems you wouldn't want to mount
    > > with noatime (/tmp, /var/tmp, /var/mail, /var/spool/*) because some
    > > software depends on the atime being adjusted.
    >
    > I thought that, according to the goal of this patch, the "noatime"
    > option you were talking about would be in fact a "noatime-on-exec"
    > option. Access time would be still updated on other cases.
    > Am I wrong ?

    This is correct. Other than changing it so that the atime on executable
    files gets modified when they get executed this patch should not change
    anything.

    -- 
                                                    Ken Smith
    - From there to here, from here to      |       kensmith@cse.buffalo.edu
      there, funny things are everywhere.   |
                          - Theodore Geisel |
    
    



  • Next message: M. Warner Losh: "Re: [CFR] correct type of addrinfo.ai_addrlen and netent.n_net"

    Relevant Pages

    • Re: Modifying file access time upon exec...
      ... I'm saying that there are filesystems you wouldn't want to mount ... Any software that depends on the value of atime is broken by design. ...
      (freebsd-arch)
    • Re: Modifying file access time upon exec...
      ... I'm saying that there are filesystems you wouldn't want to mount ... > Any software that depends on the value of atime is broken by design. ...
      (freebsd-arch)
    • Re: [PATCH 2/2] Make relatime default
      ... This makes the assumption that atime is not used, which may be true on your system but isn't on others. ... Other admins use it to identify unused files which are candidates for backup to offline media or the bit bucket. ... Let people who want that behavior specify it for existing filesystems, if you want to remove functionality from ext4 or btrfs or some thing place where people have no existing expectations, I still think it's wrong, but I couldn't say I think it might break anything. ... I did a patch a few years ago which only updated atime on open and write, and that worked about as well as relatime, the inode update on open is cheap, the head is already there, and it was only slightly slower than noatime. ...
      (Linux-Kernel)
    • Re: noatime bei vfat?
      ... | Alert readers may be thinking: "Wait, there's no atime on FAT ... There's only a single timestamp field for each ...
      (de.comp.os.unix.linux.misc)
    • Re: File.ctime for detecting directory modifications?
      ... I don't know about ctime, but some filesystems allow control over ... whether other attributed like atime are maintained or updated. ...
      (comp.lang.ruby)