Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 15:54:08 -0400
From:      Lowell Gilbert <freebsd-ports-local@be-well.ilk.org>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        freebsd-ports@freebsd.org, Lars Stokholm <lars.stokholm@gmail.com>
Subject:   Re: Cleaning /var/db/ports
Message-ID:  <44myomo9zz.fsf@be-well.ilk.org>
In-Reply-To: <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com> (Garrett Cooper's message of "Tue\, 25 Mar 2008 11\:52\:57 -0700")
References:  <47E949A3.5030103@gmail.com> <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper <yanefbsd@gmail.com> writes:

> On Mar 25, 2008, at 11:51 AM, Lars Stokholm wrote:
>
>> Apart from doing 'rm -r /var/db/ports/*' is there a way of cleaning
>> the folder of stale folders and files?
>>
>> I know it takes up no space and that I might aswell leave it alone,
>> but it'd be interesting to know. :)
>>
>> Thanks,
>> Lars
>
> pkg_cutleaves -- an excellent Perl port that will help you out with
> that.

I think the question is about port configs, not the ports themselves.

I don't know of anything that finds unused port configs.  It would not
be very difficult to write, but I have to admit I don't think it would
be worth the effort...



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