Date: Tue, 25 Mar 2008 15:53:43 -0400 From: Wesley Shields <wxs@FreeBSD.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: <20080325195343.GB23226@atarininja.org> In-Reply-To: <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com> References: <47E949A3.5030103@gmail.com> <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080325195343.GB23226>