From owner-freebsd-fs Thu Apr 18 5:56:42 2002 Delivered-To: freebsd-fs@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 4AFBE37B433; Thu, 18 Apr 2002 05:56:32 -0700 (PDT) Received: from pool0042.cvx22-bradley.dialup.earthlink.net ([209.179.198.42] helo=mindspring.com) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16yBSa-00040i-00; Thu, 18 Apr 2002 05:56:25 -0700 Message-ID: <3CBEC25D.7921E743@mindspring.com> Date: Thu, 18 Apr 2002 05:55:57 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Alfred Perlstein , fs@FreeBSD.ORG, mckusick@FreeBSD.ORG Subject: Re: "notime fix" (forw) what do you think of this? References: <20020418161400.J13884-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Bruce Evans wrote: > > it's a hack to make ufs_vnops update atime if it is going > > to update mtime or ctime. > > This is just wrong. atime is the time of last access. POSIX says when > it is set. POSIX doesn't seem to say explicity that it shall not be > set gratuitously, but POLA says that. I think the net effect here is an attempt to get "marked for update" rather than "updated" semantics. This is still kind of bad. I don't think your approach would work any better than Alfred's, unfortunately, since his intent is to make "make" work as expected on volumes mounted noatime (e.g. he probably mounted /usr/ports noatime for the install, and left it that way). It's really a kind of bogus thing to want to do, either way. "Some guarantees" is really non-intuitive. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message