From owner-freebsd-stable Tue Jun 5 11:51:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dargo.talarian.com (dargo.talarian.com [207.5.33.3]) by hub.freebsd.org (Postfix) with ESMTP id EC0E837B403; Tue, 5 Jun 2001 11:51:39 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Received: from moya.talarian.com (moya.talarian.com [10.4.10.8]) by dargo.talarian.com (Postfix) with ESMTP id B2F2C22B04; Tue, 5 Jun 2001 11:51:33 -0700 (PDT) Received: from beast.talarian.com (beast.talarian.com [10.4.10.6]) by moya.talarian.com (Postfix) with ESMTP id E1062CB; Tue, 5 Jun 2001 11:51:35 -0700 (PDT) Received: from quack.kfu.com (localhost [127.0.0.1]) by beast.talarian.com (8.11.3/8.11.3) with ESMTP id f55IpY795518; Tue, 5 Jun 2001 11:51:35 -0700 (PDT) (envelope-from nsayer@quack.kfu.com) Message-ID: <3B1D2A36.2030405@quack.kfu.com> Date: Tue, 05 Jun 2001 11:51:34 -0700 From: Nick Sayer User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.3-RELEASE i386; en-US; 0.8.1) Gecko/20010411 X-Accept-Language: en MIME-Version: 1.0 To: Stephan van Beerschoten Cc: Hajimu UMEMOTO , freebsd-current@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG Subject: post installworld cleanup (was Re: usr.sbin/pim6[sd]d will be removed soon.) References: <20010603.013827.112367504.ume@mahoroba.org> <20010605105226.A59565@enigma.whacky.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Stephan van Beerschoten wrote: > Here's a quick question that just popped into my mind. I cvsup my -stable and my -current box every night and every once in a while I install a new world. > > What happens with a (previously installed) /usr/sbin/pim6[sd]d ? Will 'make (install)world' remove it ? > If not, what system is in place (if any) to accomplish this in order to get a really clean system ? > > Mm.. I feel VERY newbie-like by asking this, because I use FBSD over 3 years now, but I hope someone will help me out with an answer on this. > > With regards, > Stephan van Beerschoten > After installworlds I routinely do an ls -altr on "the usual suspects", which for me include: /bin, /sbin, /usr/bin, /usr/sbin, /usr/libexec and /usr/lib. /usr/lib must be done carefully. If it matches (this is a regex) lib\..*\.so\.[0-9]+ then you should move it into /usr/lib/compat rather than delete it. Just deleting them will cause any programs in /usr/X11R6 or /usr/local that were linked against the old libraries to stop working. /usr/libexec/ld.so* also sometimes appear to be out of date but really aren't. One of them is the a.out ld.so and if you have 1.x compat libraries loaded you will need to leave that file alone despite it having a very old date. Anything else that is older than the starting time of the last 'make installworld' in these directories can probably be deleted. For extra credit you can do this to /usr/share/man/man* as well. It also may not be a bad idea to rm -f /usr/share/man/cat*/* to make doubly sure that obsolete man pages don't show up. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message