Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 09:56:38 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        "Stas D.Myasnikov" <myst@tut.by>
Cc:        Warner Losh <imp@freebsd.org>
Subject:   Re: How to clean out old files after 'make world'?
Message-ID:  <20040730065638.GE36338@ip.net.ua>
In-Reply-To: <web-108250817@tut.by>
References:  <web-108250817@tut.by>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040730065638.GE36338>