NFS incorrectly update atime
Rong-en Fan
rafan at infor.org
Wed Sep 24 10:22:42 PDT 2003
Hi,
I'm using FreeBSD 4.8-RELEASE for both NFS server and client,
however when i append file from client, it updates both
atime and mtime, where atime shouldn't be updated.
$ touch testfile
$ stat testfile
Access: Thu Sep 25 01:17:43 2003
Modify: Thu Sep 25 01:17:43 2003
Change: Thu Sep 25 01:17:43 2003
$ echo foobar >> testfile
$ stat testfile
Access: Thu Sep 25 01:17:43 2003
Modify: Thu Sep 25 01:19:15 2003
Change: Thu Sep 25 01:19:15 2003
$ echo foobar >> testfile
$ stat testfile
Access: Thu Sep 25 01:19:31 2003
Modify: Thu Sep 25 01:19:31 2003
Change: Thu Sep 25 01:19:31 2003
it only occur when file is not empty, also i've noticed that
http://www.freebsd.org/cgi/query-pr.cgi?pr=44580
is the same problem. BTW, i also test it on 5.1-RELEASE,
and got the same result.
btw, i don't subscribe this mailing, so please CC me thanks :)
Regards,
Rong-en Fan
More information about the freebsd-fs
mailing list