From owner-freebsd-stable@FreeBSD.ORG Fri Feb 27 23:14:46 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2AAF516A4CE for ; Fri, 27 Feb 2004 23:14:46 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56A3143D1F for ; Fri, 27 Feb 2004 23:14:45 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.10/8.12.10) with ESMTP id i1S7Ehcj078831; Sat, 28 Feb 2004 10:14:43 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Sat, 28 Feb 2004 10:14:43 +0300 (MSK) From: Dmitry Morozovsky To: Kenneth W Cochran In-Reply-To: <200402280250.VAA24095934@shell.TheWorld.com> Message-ID: <20040228100420.T70804@woozle.rinet.ru> References: <200402271908.OAA23119255@shell.TheWorld.com> <200402280250.VAA24095934@shell.TheWorld.com> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: makewhatis wierdness in 4.9-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Feb 2004 07:14:46 -0000 On Fri, 27 Feb 2004, Kenneth W Cochran wrote: [snip] KWC> >So just delete these stale links (actually, I just check my man page hierarchy KWC> >and clean up several stale links ;-) KWC> KWC> Ok, done; guess we'll see what happens with the next periodic-weekly KWC> run... You may just run sh /etc/periodic/weekly/320.makewhatis as root to check. KWC> On a related note, I have some *very* old files in system KWC> directores (/bin, /usr/bin, /sbin, /usr/sbin, /usr/lib, KWC> /usr/libexec ...) dating back as far as year 2000, KWC> apparently from the original install of 4.0-release and KWC> never updated from {build,install}world. Is there any KWC> (safe) way to get rid of that cruft? In general no. However, no utility in the base system should break if you delete old files; the only victims would be ports or your own scripts/program. In your state I would: 0. backup (always wise! ;-) 1. mkdir /var/chroot && cd /usr/src && make installworld DESTDIR=/var/chroot, then compare root hierarchy and /var/chroot 2. use sysutils/portugrade to upgrade your ports (use with caution, especially when upgrading large sets of ports) 3. use sysutils/libchk to locate unused shared libraries (which would be the trickest part) Or, if you have spare hardware and/or time, just install new system from scratch and transit local settings to the new system, then shift new system in (I use this technique for major hardware upgrades for our servers cluster) Good luck! Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------