From owner-freebsd-current Mon Oct 7 5:58:43 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 CD91637B401; Mon, 7 Oct 2002 05:58:41 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29AB743E4A; Mon, 7 Oct 2002 05:58:41 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.12.4/8.12.4) with SMTP id g97CwCOo071242; Mon, 7 Oct 2002 08:58:12 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Mon, 7 Oct 2002 08:58:11 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "Joel M. Baldwin" Cc: owner-freebsd-current@FreeBSD.ORG, FreeBSD current users Subject: Re: Do we still need portmap(8)? In-Reply-To: <216964848.1033965130@[192.168.1.20]> 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 Mon, 7 Oct 2002, Joel M. Baldwin wrote: > Shouldn't ALL of the files in /bin, /usr/bin, /usr/include, /usr/lib etc > be replaced during an installworld? > > I've always looked for files older than the last installworld and moved > them aside thinking that they're obsolete. > > ( aside, not delete, just in case ) Well, mostly all. (1) If a file is removed from the source tree, it won't be replaced, it will just get stale. That's what happened with grog's portmap and portmap.8.gz. Even more annoying are the man cache files which also need to be flushed. (2) Symlinks and directories are not replaced. If you do "ls -l" in lib, you'll see that the old files are (a) obsoleted libraries or library versions, and (b) the symlinks. Depending on what applications are present in your system, you may be able to flush (a), but be cautious about (b). Note that the caution regarding (a) is because old libraries may still be used by old dynamically linked applications. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message