Removing unused core components. (Disabled in make.conf)
John Nielsen
lists at jnielsen.net
Wed Jan 17 19:32:28 UTC 2007
On Wednesday 17 January 2007 13:52, Victor Snezhko wrote:
> Tom Judge <tom at tomjudge.com> writes:
> > Hi,
> >
> > I have the following options in /etc/make.conf:
> >
> > NO_PROFILE=true
> > NO_SENDMAIL=true
> > NO_GAMES=true
> > NO_I4B=true
> > NO_ATM=true
> > NO_INET6=true
> > NO_BLUETOOTH=true
> > NO_IPFILTER=true
> > NO_RCMDS=true
> > NO_KERBEROS=true
> >
> >
> > However after a "make buildworld installworld" the utilities and libs
> > associated with these packages are still installed, is there any easy
> > way to remove them from the system?
>
> make delete-old
That will delete obsolete files no longer used by the current version of the
operating system, but it won't do what the OP is asking.
I don't know of a one-step way to do what you're asking. You could do a find
over the base system directories and look for files older than your last
installworld. That might not fit the "easy" part of the request since you'd
have to go over the list manually to make sure it wasn't killing anything you
actually need, but it should be mostly accurate.
JN
More information about the freebsd-stable
mailing list