Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Dec 2015 18:11:07 -0200
From:      =?utf-8?B?THXDrXM=?= Fernando Schultz Xavier da Silveira <schultz@ime.usp.br>
To:        freebsd-questions@freebsd.org
Subject:   Cleaning obsolete files after make installworld
Message-ID:  <20151205201107.GA19335@hpmini>

next in thread | raw e-mail | index | archive | help
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.





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