[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

why is the access time of dirs not chaged?



The following message is a courtesy copy of an article
that has been posted to comp.unix.shell as well.

If I do "cat dir/file", why is the access time of dir not changed, as
seen with stat(1) or ls -ul?  Only if we do "ls dir" will dir's access
time be changed.  Maybe it is on purpose to avoid too much disk
access.  In version 7 Unix did they do that too?



Reply to: