Cleaning obsolete files after make installworld

Anton Sayetsky vsasjason at gmail.com
Sat Dec 5 20:41:13 UTC 2015


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