From owner-freebsd-current Mon Oct 7 19: 1:46 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECAE137B401 for ; Mon, 7 Oct 2002 19:01:44 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7773643E3B for ; Mon, 7 Oct 2002 19:01:43 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 7DDE8812F5; Tue, 8 Oct 2002 11:31:41 +0930 (CST) Date: Tue, 8 Oct 2002 11:31:41 +0930 From: Greg 'groggy' Lehey To: Steve Kargl Cc: "M. Warner Losh" , FreeBSD-current@FreeBSD.org Subject: Re: Removing old binaries (was: Do we still need portmap(8)?) Message-ID: <20021008020141.GP57557@wantadilla.lemis.com> References: <20021007063250.GF14070@wantadilla.lemis.com> <20021007.112056.119814448.imp@bsdimp.com> <20021007234610.GT14070@wantadilla.lemis.com> <20021008004442.GA34414@troutmask.apl.washington.edu> <20021008010442.GD57557@wantadilla.lemis.com> <20021008014635.GA34673@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021008014635.GA34673@troutmask.apl.washington.edu> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday, 7 October 2002 at 18:46:35 -0700, Steve Kargl wrote: > On Tue, Oct 08, 2002 at 10:34:42AM +0930, Greg 'groggy' Lehey wrote: >> On Monday, 7 October 2002 at 17:44:42 -0700, Steve Kargl wrote: >>> On Tue, Oct 08, 2002 at 09:16:10AM +0930, Greg 'groggy' Lehey wrote: >>>> On Monday, 7 October 2002 at 11:20:56 -0600, M. Warner Losh wrote: >>>>> In message: <20021007063250.GF14070@wantadilla.lemis.com> >>>>> "Greg 'groggy' Lehey" writes: >>>> >>>> There are then dozens of ways of finding the old files and removing >>>> them. I'd be inclined just to remove all files in those directories >>>> which are older than some file in the build tree--*after* a successful >>>> installation. >>>> >>>> Thoughts? >>>> >>> >>> What would you do about "install -C"? >> >> I think it confuses the issue rather than solving it. We're talking >> about removing binaries which are no longer needed, not replacing >> binaries that are needed. >> > > I understand what the topic is. I don't understand your comment, "I'd > be inclined just to remove all files in those directories which are older > than some file in the build tree--*after* a successful > installation." Ah, sorry, that might bear more explanation. > "install -C" doesn't change the timestamp, so you'll have tons of > files that are older than "some file in the build tree". What does the last access timestamp look like after install -C? > You don't blindly want to remove files and I doubt you want > mergemaster to list possibly hundreds of files as removal > candidates. So, yes, "install -C" confuses the issue :-) Indeed. What good reason do we have to use it on these directories? Greg -- See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message