From owner-freebsd-stable Thu Jan 11 5: 5:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182]) by hub.freebsd.org (Postfix) with ESMTP id AC8FD37B402 for ; Thu, 11 Jan 2001 05:05:29 -0800 (PST) Received: from gate.dinoex.sub.org (dinoex@localhost) by net2.dinoex.sub.org (8.11.2/8.11.2) with BSMTP id f0BD54S15927 for ; Thu, 11 Jan 2001 14:05:04 +0100 (CET) (envelope-from dirk.meyer@dinoex.sub.org) X-MDaemon-Deliver-To: To: freebsd-stable@FreeBSD.ORG Message-ID: From: dirk.meyer@dinoex.sub.org (Dirk Meyer) Organization: privat Subject: Re: Cleaning out old/unused files after make world Date: Thu, 11 Jan 2001 13:59:21 +0100 X-Mailer: Dinoex 1.76 References: <20010110211121.W79365@strontium.scientia.demon.co.uk> X-Gateway: ZCONNECT gate.dinoex.sub.org [UNIX/Connect 0.90] X-Accept-Language: de,en X-PGP-Fingerprint: 44 16 EC 0A D3 3A 4F 28 8A 8A 47 93 F1 CF 2F 12 X-Noad: Please don't send me ad's by mail. I'm bored by this type of mail. X-Copyright: (C) Copyright 1999 by Dirk Meyer -- All rights reserved. X-Note: sending SPAM is a violation of both german and US law and will at least trigger a complaint at your provider's postmaster. X-PGP-Key-Avail: mailto:pgp-public-keys@keys.de.pgp.net Subject:GET 0x331CDA5D X-ZC-VIA: 20010111000000W+1@dinoex.sub.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ben Smithurst wrote: > Start with find(1)'s -mtime option, removing files older than your > last buildworld in appropriate directories. Where `appropriate > directories' are those completely updated by buildworld (i.e. NOT /etc, > /usr/local, and so on). Mainly I'd go for /bin /sbin /usr/bin /usr/sbin > /usr/libexec /usr/share /usr/libdata. Also, I wouldn't remove old > libraries from /usr/lib since stuff in /usr/local might still be using > them. And be careful what you delete, of course. :-) It made sense to me to move all older libs and their corresponding sylinks into the compat directory. Then use ldconfig to amke teh system aware of the new location. benefits: - libpath ist clean - old ports can still access the lib - news builds will find the right libs, configure of a port might otherwise prefer to use an old lib. once you updated all your ports, its safe to clean the old libs. kind regards Dirk - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message