Cleaning obsolete files after make installworld

Luís Fernando Schultz Xavier da Silveira schultz at ime.usp.br
Sat Dec 5 20:48:09 UTC 2015


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.

On Sat, Dec 05, 2015 at 10:40:51PM +0200, Anton Sayetsky wrote:
> Standard procedure is filing a PR, because it's a BUG. Someone adds
> WITHOUT_XXX option and forgets to update ObsoleteFiles.inc.
> 
> 2015-12-05 22:11 GMT+02:00 Luís Fernando Schultz Xavier da Silveira
> <schultz at ime.usp.br>:
> > Hi,
> >
> > I have edited /etc/src.conf to remove software which is not useful
> > to me. After compiling and installing the world, I have launched the
> > check-old, delete-old and delete-old-libs targets of /usr/src/Makefile.
> >
> > However, several old files still remain in the system. For example,
> > I have included WITHOUT_INETD in /etc/src.conf, but after peforming the
> > above procedure, the file /usr/sbin/inetd was still there, with a
> > modification time that predates the installation of the system.
> >
> > What is the standard procedure for removing these stale files?
> > I have used the -mtime option of find to locate and remove them, but
> > I doubt this is the recommended approach.
> >
> > Thanks.
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 


More information about the freebsd-questions mailing list