From owner-freebsd-current Mon Oct 7 17:44:50 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 A1C2B37B401; Mon, 7 Oct 2002 17:44:45 -0700 (PDT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF3EB43E4A; Mon, 7 Oct 2002 17:44:44 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.5) with ESMTP id g980ig4G034441; Mon, 7 Oct 2002 17:44:42 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id g980igU2034440; Mon, 7 Oct 2002 17:44:42 -0700 (PDT) Date: Mon, 7 Oct 2002 17:44:42 -0700 From: Steve Kargl To: "Greg 'groggy' Lehey" Cc: "M. Warner Losh" , FreeBSD-current@FreeBSD.ORG Subject: Re: Removing old binaries (was: Do we still need portmap(8)?) Message-ID: <20021008004442.GA34414@troutmask.apl.washington.edu> References: <20021007063250.GF14070@wantadilla.lemis.com> <20021007.112056.119814448.imp@bsdimp.com> <20021007234610.GT14070@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021007234610.GT14070@wantadilla.lemis.com> User-Agent: Mutt/1.4i 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, 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: > >> 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? > What would you do about "install -C"? -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message