From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 30 06:59:08 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 527AE16A4CE; Fri, 30 Jul 2004 06:59:08 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6025043D66; Fri, 30 Jul 2004 06:59:07 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i6U6uZOc090377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Jul 2004 09:56:37 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i6U6ucg3036648; Fri, 30 Jul 2004 09:56:38 +0300 (EEST) (envelope-from ru) Date: Fri, 30 Jul 2004 09:56:38 +0300 From: Ruslan Ermilov To: "Stas D.Myasnikov" Message-ID: <20040730065638.GE36338@ip.net.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jTMWTj4UTAEmbWeb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-hackers@freebsd.org cc: Warner Losh Subject: Re: How to clean out old files after 'make world'? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 06:59:08 -0000 --jTMWTj4UTAEmbWeb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 20, 2004 at 10:23:25PM +0300, Stas D.Myasnikov wrote: > Hello! >=20 > While doing 'make world' I used make.conf with couple on 'NO_*=3Dyes',=20 > e.g. NO_KERBEROS=3Dyes (I don't need Kerberos on my home computer). But= =20 > after rebuilding world and install I saw the old binaries, configs,=20 > etc. of Kerberos and other parts of base that I didn't build. I had=20 > thought that install script removes all unneeded files, but it don't.=20 > How can I clean out this old binaries, configs, etc?.. Is there any=20 > automatic way to do this? >=20 I routinely use find(1) and some secret knowledge about files that do not change their timestamps between installworlds to clean up stale files. Fortunately there are not too much files that install with -C, less in 5.x than in 4.x. Also, Warner Losh worked on a project that would allow to remove files obsoleted between releases. I don't know what the current status of this project is, or if it's still alive. ;) Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --jTMWTj4UTAEmbWeb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBCfEmqRfpzJluFF4RAuH8AJsE6DdCOokwpfXQx4QuvZlesCtRxgCgnsTr HG/u+nIz9/6uB3+GKgpOJQ0= =HZ3m -----END PGP SIGNATURE----- --jTMWTj4UTAEmbWeb--