From owner-freebsd-fs@FreeBSD.ORG Wed Sep 24 10:22:42 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D8E516A4B3 for ; Wed, 24 Sep 2003 10:22:42 -0700 (PDT) Received: from muse.csie.ntu.edu.tw (muse.csie.ntu.edu.tw [140.112.28.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCDC43FA3 for ; Wed, 24 Sep 2003 10:22:41 -0700 (PDT) (envelope-from rafan@muse.csie.ntu.edu.tw) Received: by muse.csie.ntu.edu.tw (Postfix, from userid 1001) id 1840552EFF; Thu, 25 Sep 2003 01:22:37 +0800 (CST) Date: Thu, 25 Sep 2003 01:22:37 +0800 From: Rong-en Fan To: fs@freebsd.org Message-ID: <20030924172237.GA95815@muse.csie.ntu.edu.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.4i Subject: NFS incorrectly update atime X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 17:22:42 -0000 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