From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu From: Richard Miller In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] kfscmd atime considered harmful Date: Fri, 10 Oct 2003 13:15:16 +0100 Topicbox-Message-UUID: 6bc0fb58-eacc-11e9-9e20-41e7f4b1d025 Using disk/kfscmd atime, which reduces disk activity by preventing the updating of access times when files and directories are accessed for reading, has an unfortunate side effect of making the effects of wstat somewhat ephemeral: term% ls -l d --rw-r----- M 8 miller miller 0 Oct 10 10:31 d/one --rw-r----- M 8 miller miller 0 Oct 10 10:31 d/two term% disk/kfscmd atime atimes will not be updated term% chmod 666 d/one term% mv d/two d/three term% ls -l d --rw-rw-rw- M 8 miller miller 0 Oct 10 10:31 d/one --rw-r----- M 8 miller miller 0 Oct 10 10:31 d/three term% du >/dev/null term% ls -l d --rw-r----- M 8 miller miller 0 Oct 10 10:31 d/one --rw-r----- M 8 miller miller 0 Oct 10 10:31 d/two I'll send a suggested fix to 9trouble@plan9.bell-labs.com -- Richard