Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2003 01:22:37 +0800
From:      Rong-en Fan <rafan@infor.org>
To:        fs@freebsd.org
Subject:   NFS incorrectly update atime
Message-ID:  <20030924172237.GA95815@muse.csie.ntu.edu.tw>

next in thread | raw e-mail | index | archive | help
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
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030924172237.GA95815>