How to clean out old files after 'make world'?

Ruslan Ermilov ru at freebsd.org
Thu Jul 29 23:59:08 PDT 2004


On Tue, Jul 20, 2004 at 10:23:25PM +0300, Stas D.Myasnikov wrote:
> Hello!
> 
> While doing 'make world' I used make.conf with couple on 'NO_*=yes', 
> e.g. NO_KERBEROS=yes (I don't need Kerberos on my home computer).  But 
> after rebuilding world and install I saw the old binaries, configs, 
> etc. of Kerberos and other parts of base that I didn't build.  I had 
> thought that install script removes all unneeded files, but it don't. 
> How can I clean out this old binaries, configs, etc?..  Is there any 
> automatic way to do this?
> 
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,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20040730/f459b4e0/attachment.bin


More information about the freebsd-hackers mailing list