Cleaning obsolete files after make installworld

Michael Powell nightrecon at hotmail.com
Sat Dec 12 23:11:02 UTC 2015


Luís Fernando Schultz Xavier da Silveira wrote:

Please not to top post. 

> Well, the problem is there were hundreds upon hundreds of such files
> from several switches in src.conf. I do not think that many developers
> would forget that many obsolete files. The more likely possibility is
> that I have made a mistake somewhere.
> 

Check out the /usr/src/Makefile, particularly the # check-old and the # 
delete-old sections. I've never found a need to use these, so I really am 
uncertain how they would be used. But it seems as if they might come into 
play after a make buildworld but prior to a make installworld. I could be 
very wrong about that. But if you can track down how to actually use these 
targets I think it may remedy the problem.

As far as how the problem came to exist I wouldn't know - but a small 
mistake somewhere in the process does indeed sound plausible. 

-Mike





More information about the freebsd-questions mailing list