From owner-freebsd-ports@FreeBSD.ORG Tue Mar 25 19:54:16 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 D02C5106567D for ; Tue, 25 Mar 2008 19:54:16 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.177]) by mx1.freebsd.org (Postfix) with ESMTP id 8EACA8FC29 for ; Tue, 25 Mar 2008 19:54:16 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by el-out-1112.google.com with SMTP id v27so1746363ele.12 for ; Tue, 25 Mar 2008 12:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=i0sRJCRmbeYJwS2Uw6dY1gpn4nVoTcphffPZW5Ajqis=; b=bcPIgkNfFALI4l+Pdvag9vmD66bf1V+t0b9bjk51D+qOjEanQV9ZN8NIOyXpefiednmpEQPrXM0rjvCR1MjP3qm6rNpFsKX7GIM9NI3GUjS9x2jbJ6yo/DD0yMZCeSL/oM3PXWF8qPqm+qYha1ka5zTDrscJhna+6aP1e/5JZ4A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=I/4gUL+62yi9RsqCzUUdRDIrmeFws3sZkhjovE9be0Pku7UFnSQS53IU0BEPJcj/rI+2gC/0K3P8/HoRLyrQ++eba3uzfZc8/Zgsiz2z2j7b9FILYmxvSrmmhOWg1e24ESA7PHh1AL3wV9b1xeaj8PHw5f/XzI5n8WGr/55N4V0= Received: by 10.140.180.11 with SMTP id c11mr3700055rvf.248.1206474854777; Tue, 25 Mar 2008 12:54:14 -0700 (PDT) Received: from dhcp-128-107-159-176.cisco.com ( [128.107.159.176]) by mx.google.com with ESMTPS id f13sm5746461rvb.10.2008.03.25.12.54.12 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Mar 2008 12:54:13 -0700 (PDT) Message-Id: From: Garrett Cooper To: Wesley Shields In-Reply-To: <20080325195343.GB23226@atarininja.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Tue, 25 Mar 2008 12:54:23 -0700 References: <47E949A3.5030103@gmail.com> <4B48E94D-058A-4F79-93B2-B6E498C0B9CE@gmail.com> <20080325195343.GB23226@atarininja.org> X-Mailer: Apple Mail (2.919.2) Cc: freebsd-ports@freebsd.org, Lars Stokholm 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: Tue, 25 Mar 2008 19:54:16 -0000 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