Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 12:54:23 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        Wesley Shields <wxs@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org, Lars Stokholm <lars.stokholm@gmail.com>
Subject:   Re: Cleaning /var/db/ports
Message-ID:  <B1464955-65F2-4A5E-97EA-62B83AAF74B0@gmail.com>
In-Reply-To: <20080325195343.GB23226@atarininja.org>
References:  <47E949A3.5030103@gmail.com> <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com> <20080325195343.GB23226@atarininja.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 25, 2008, at 12:53 PM, Wesley Shields wrote:

> On Tue, Mar 25, 2008 at 11:52:57AM -0700, Garrett Cooper wrote:
>> 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.
>
> Which, unfortunately won't clean up /var/db/ports.
>
> I'm not 100% certain but I think the only information stored in
> /var/db/ports are distfile recordings and options selections?  As  
> such,
> nothing overly important is recorded there and you might be OK to just
> blow it all away.  Of course I'd make a backup of it first just  
> incase I
> am wrong.
>
> -- WXS

Ah, didn't catch the ports part. My apologies.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1464955-65F2-4A5E-97EA-62B83AAF74B0>