web-serving does not update a file's atime?
mi+kde at aldan.algebra.com
Tue Aug 17 05:35:49 PDT 2004
I tried to use stat(1) to see the last time a file was downloaded
To my surprise, all three dates displayed by stat are long ago, even
though the web-server's log is showing downloads from a just a few hours
The file-system used to be mounted noatime, but I turned that option off
some time ago. If I read one of those files (with head(1) or file(1),
for example), the atime is updated. But if Apache serves it out -- it is
not... There is no caching in Apache either.
Any ideas? Thanks!
More information about the freebsd-questions