Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2002 09:16:10 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        FreeBSD-current@FreeBSD.ORG
Subject:   Removing old binaries (was: Do we still need portmap(8)?)
Message-ID:  <20021007234610.GT14070@wantadilla.lemis.com>
In-Reply-To: <20021007.112056.119814448.imp@bsdimp.com>
References:  <20021007063250.GF14070@wantadilla.lemis.com> <20021007.112056.119814448.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>> 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, <insert others
  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?

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




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