From owner-freebsd-hackers Thu Jul 26 6: 9: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 1033537B403 for ; Thu, 26 Jul 2001 06:09:00 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 26 Jul 2001 14:08:58 +0100 (BST) To: Peter Pentchev Cc: David Greenman , "David E. Cross" , Ronald G Minnich , freebsd-hackers@FreeBSD.ORG Subject: Re: exec() doesn't update access time In-reply-to: Your message of "Thu, 26 Jul 2001 14:52:38 +0300." <20010726145238.I15667@ringworld.oblivion.bg> X-Request-Do: Date: Thu, 26 Jul 2001 14:08:58 +0100 From: David Malone Message-ID: <200107261408.aa37826@salmon.maths.tcd.ie> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Thu, Jul 26, 2001 at 12:09:17PM +0100, David Malone wrote: > > On Wed, Jul 25, 2001 at 02:25:19PM -0700, David Greenman wrote: > > > Guessing, I think the correct fix is probably to set the IN_ACCESS flag > > > ufs_open() [and similarly with other filesystems where this makes sense] i > > > the filesystem is not mounted with the noatime flag. However, I'm not sure > > > of the symantics of the access time in the relavent standards, and I seem > > > to recall Bruce saying that it was incorrect to indicate an access on just > > > an open(), but I may be mistaken. > > > > Wouldn't setting the access time on open mess up the "last read > > time" for people's mail boxes when mail was delivered? > I think people are only discussing updating atime on exec(), not > on all open()'s. I do not really believe you are trying to execute > your mailboxes :) Surely if you mark the file for update in ufs_open then it doesn't matter if you're opening of execing? David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message