Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 14:08:58 +0100
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        David Greenman <dg@root.com>, "David E. Cross" <crossd@cs.rpi.edu>, Ronald G Minnich <rminnich@lanl.gov>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: exec() doesn't update access time 
Message-ID:   <200107261408.aa37826@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Thu, 26 Jul 2001 14:52:38 %2B0300." <20010726145238.I15667@ringworld.oblivion.bg> 

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




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