Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 18:46:35 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        "Greg 'groggy' Lehey" <grog@FreeBSD.org>
Cc:        "M. Warner Losh" <imp@bsdimp.com>, FreeBSD-current@FreeBSD.org
Subject:   Re: Removing old binaries (was: Do we still need portmap(8)?)
Message-ID:  <20021008014635.GA34673@troutmask.apl.washington.edu>
In-Reply-To: <20021008010442.GD57557@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <grog@FreeBSD.ORG> 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."

"install -C" doesn't change the timestamp, so you'll have tons of
files that are older than "some file in the build tree".  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 :-)

-- 
Steve

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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