From owner-freebsd-ports@FreeBSD.ORG Wed Mar 26 00:30:20 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8188B1065672 for ; Wed, 26 Mar 2008 00:30:20 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id EB5758FC12 for ; Wed, 26 Mar 2008 00:30:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 14210 invoked by uid 399); 26 Mar 2008 00:36:23 -0000 Received: from localhost (HELO ?192.168.0.5?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 26 Mar 2008 00:36:23 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <47E9991A.2020507@FreeBSD.org> Date: Tue, 25 Mar 2008 17:30:18 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Lars Stokholm References: <47E949A3.5030103@gmail.com> In-Reply-To: <47E949A3.5030103@gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: Cleaning /var/db/ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2008 00:30:20 -0000 Lars Stokholm wrote: > Apart from doing 'rm -r /var/db/ports/*' is there a way of cleaning the > folder of stale folders and files? Not an automated one, no. It would also be somewhat difficult (although not impossible) to write an automated tool to do it because of the loose relationship between the names in /var/db/ports and the names in /var/db/pkg. You can safely blow this stuff away though. The only inconvenience will be that you will have to answer all the OPTIONS dialogs again. Doug -- This .signature sanitized for your protection