[lug] atime in Fedora 8?
kevin at scrye.com
Tue Mar 18 12:53:38 MDT 2008
On Tue, 18 Mar 2008 10:02:16 -0600
jeffrey.haemer at gmail.com ("Jeffrey Haemer") wrote:
> How do I turn on atime out of Fedora 8? I've tried two things that I
> think should work
> chattr -A filename
> mount -o atime,remount /
> but executing an executable no longer seems to change its atime.
> Neither, for that matter, does cat on the file itself.
> If I can't turn on atime, can anyone tell me how to tell when a file
> was last executed?
> (For example, if I want to find out whether "rpm -q" is executing
> "/usr/lib/rpm/rpmq", I'd normally do "rpm -q; ls
> -ul /usr/lib/rpm/rpmq")
> This all seems to work fine on Ubuntu, but not on Fedora 8. And yes,
> "rpm -q" does execute "/usr/lib/rpm/rpmq" -- but I do feel odd using
> a Debian distro to answer questions about the "Red Hat Package
> Manager." :-)
By default Fedora 8 uses the 'relatime' mount option...
Basically the atime only gets updated if the mtime or ctime were
updated since the last atime update.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
More information about the LUG