Appending data to a file on an NFS mounted volume incorrectly causes the atime (access time) to be updated when only the mtime (modify time) should be updated. Appending to an empty file works correctly, but thereafter modifies the atime on each append. How-To-Repeat: mikel@borg.svpal.org[82]@ touch foo mikel@borg.svpal.org[83]@ ls -lT foo -rw-r--r-- 1 mikel mail 0 Oct 28 15:52:33 2002 foo mikel@borg.svpal.org[84]@ ls -lTu foo -rw-r--r-- 1 mikel mail 0 Oct 28 15:52:33 2002 foo mikel@borg.svpal.org[85]@ echo "a" >> foo mikel@borg.svpal.org[86]@ ls -lT foo -rw-r--r-- 1 mikel mail 2 Oct 28 15:52:59 2002 foo mikel@borg.svpal.org[87]@ ls -lTu foo -rw-r--r-- 1 mikel mail 2 Oct 28 15:52:33 2002 foo (correct) mikel@borg.svpal.org[88]@ echo "a" >> foo mikel@borg.svpal.org[89]@ ls -lT foo -rw-r--r-- 1 mikel mail 4 Oct 28 15:53:19 2002 foo mikel@borg.svpal.org[90]@ ls -lTu foo -rw-r--r-- 1 mikel mail 4 Oct 28 15:53:19 2002 foo (wrong!)
Responsible Changed From-To: freebsd-bugs->cel Only the server should update a file's access time. Will look into it.
Responsible Changed From-To: cel->freebsd-bugs Back to the public pool.