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
[EMAIL PROTECTED]      Network Associates Laboratories




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to