Date: Mon, 28 Oct 2002 15:56:57 -0800 (PST) From: Mikel Lechner <mikel@svpal.org> To: freebsd-gnats-submit@FreeBSD.org Subject: i386/44580: NFS updates file access time when file is modified. Message-ID: <200210282356.g9SNuvlb006287@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 44580 >Category: i386 >Synopsis: NFS updates file access time when file is modified. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 28 16:00:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: Mikel Lechner >Release: RELENG_4_7, Intel i386 (local build) >Organization: Silicon Valley Public Access Link >Environment: Client: FreeBSD borg.svpal.org 4.7-RELEASE FreeBSD 4.7-RELEASE #13: Mon Oct 21 22:42:15 PDT 2002 root@borg.svpal.org:/usr/src/sys/compile/BORG i386 Server: FreeBSD enterprise.svpal.org 4.7-RELEASE FreeBSD 4.7-RELEASE #6: Tue Oct 15 00:05:58 PDT 2002 mikel@enterprise.svpal.org:/usr/src/sys/compile/ENTERPRISE i386 >Description: 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!) >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210282356.g9SNuvlb006287>