From owner-freebsd-current Mon Oct 7 7:27: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 7E78A37B401; Mon, 7 Oct 2002 07:27:46 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 244FC43E42; Mon, 7 Oct 2002 07:27:46 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id 549F757B03; Mon, 7 Oct 2002 14:27:45 +0000 (GMT) Date: Mon, 07 Oct 2002 14:27:45 +0000 (GMT) Message-Id: <20021007142745.b7ff45999@hun.org> From: Daniel Flickinger X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-Squawk: (435) 680-0750 X-No-Archive: yes In-Reply-To: References: <216964848.1033965130@[192.168.1.20]> To: Robert Watson Cc: FreeBSD current users Subject: Re: Do we still need portmap(8)? Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 one 'solution' to old libraries is to move them to an 'obsolete/' directory --I build an outfile tree. When they go missing for applications which have not been updated --xemacs was the biggest 'loser' recently, primarily from the changeover to X-4-- I move the necessary ones into /user/lib and run 'ldconfig -im /user/lib' from rc.local _nothing_ gets done without [x]emacs... (no, I don't wish to start a turf war over vi... [g]) Sent: Mon, 7 Oct 2002 08:58:11 -0400 (EDT) by Robert N Watson + + 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