behavior of file(1) in AIX PS/2 v1.1

Guy Harris guy at auspex.auspex.com
Tue Sep 25 02:30:24 AEST 1990


>I'm sure

A dangerous phrase indeed....

>this is not the intended behavior (it doesn't do it on the
>4.3BSD systems I work on).

It is a consequence of the behavior AT&T intended the "file" command to
have.  The System V "file" resets the time of last access on the file
after reading it, using the "utime()" call; this has the effect of
changing the inode change time.  The V7 "find" didn't do that, and
Berkeley didn't add that behavior in 4.xBSD.

Whether it should do this is another matter; I don't care one way or the
other, but other people do - dunno how many people want the change time
to stay the same and the access time to change, and how many people want
the access time to be reset and the change time to change.



More information about the Comp.unix.aix mailing list