From owner-freebsd-current Mon Oct 7 17: 7:48 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 2608137B401; Mon, 7 Oct 2002 17:07:47 -0700 (PDT) Received: from mail.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id A430343E4A; Mon, 7 Oct 2002 17:07:46 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from localhost (eischen@localhost) by mail.pcnet.com (8.12.3/8.12.1) with ESMTP id g9807b1h001856; Mon, 7 Oct 2002 20:07:37 -0400 (EDT) Date: Mon, 7 Oct 2002 20:07:37 -0400 (EDT) From: Daniel Eischen To: "Greg 'groggy' Lehey" Cc: "M. Warner Losh" , FreeBSD-current@FreeBSD.ORG Subject: Re: Removing old binaries (was: Do we still need portmap(8)?) In-Reply-To: <20021007234610.GT14070@wantadilla.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Tue, 8 Oct 2002, 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: > >> It's been a while since we've used portmap(8) on -CURRENT systems. Is > >> it still needed, or can it be removed completely? At the very least, > >> the man page should stop claiming that it's necessary to run NFS. > > > > I think that we need a mtree.obsolete that goes through and deletes > > these sorts of things as part of installworld/upgrade scripts. > > I think we can greatly simplify things with one firm but relatively > bearable rule: > > The directories /bin, /usr/bin, /sbin, /usr/sbin, here> are for the exclusive use of the system installer. Install > other programs here at your peril: they will be overwritten on the > next installation. > > 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? I don't think doing this by default is a good idea. Sometimes I like to preseve previous versions of things, knowing that they work. I'd prefer this as a job for mergemaster, asking you confirmation for each binary. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message