From owner-freebsd-questions@FreeBSD.ORG Tue May 31 01:16:48 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 813851065674 for ; Tue, 31 May 2011 01:16:48 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0E0B48FC1F for ; Tue, 31 May 2011 01:16:47 +0000 (UTC) Received: by wyf23 with SMTP id 23so4000917wyf.13 for ; Mon, 30 May 2011 18:16:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=2bUPpdm+SIBByn73jXneazyg/siyZMTR1vSvAnHYxLA=; b=EUe5i2O5N/OVLYPsDOktX4LNJ6a+rNonJ+K8PaVR+y4fXrQM6D7R2c/1XapDXR0m9K GTo5ReL/axA0YKlgfcLZPTaUsfDUPMvwF5BVXrzr+y8i1xoWeIDiiFdii0Ovlq1aPB/Q NmV5LbB9yJOtjmbuc+fzPaMBB5lZLRbeKmAYU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=FpKXjzws8x3ibgkzEQa2EkTmKpAypLAnX5a92FLKOOVsLIxSPuMsZyIENgg1AxNnsH DNb77C5zurvRHyvfOrF88bOgRy4O9PbsiIsQZkmFni/5Swc5OletLKE4g+t8sEbq5srs bTzPf1Dzlnv+TaN2Vlew4zhgqEcLoqK4qxlNo= Received: by 10.217.2.202 with SMTP id p52mr3425196wes.28.1306804606920; Mon, 30 May 2011 18:16:46 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id g2sm2800926weg.38.2011.05.30.18.16.44 (version=SSLv3 cipher=OTHER); Mon, 30 May 2011 18:16:46 -0700 (PDT) Date: Tue, 31 May 2011 02:16:42 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110531021642.713c6a99@gumby.homeunix.com> In-Reply-To: <201105302015.53954.lobo@bsd.com.br> References: <201105292349.50921.lobo@bsd.com.br> <201105302015.53954.lobo@bsd.com.br> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Funny thing with portsclean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2011 01:16:48 -0000 On Mon, 30 May 2011 20:15:53 -0300 Mario Lobo wrote: > On Monday 30 May 2011 01:20:42 Robert Simmons wrote: > > Sorry, I didn't mention why. You need use -DD if you don't want > > that to happen, and you want it to follow installed packages as > > well. _______________________________________________ > > Ahhhh !! It was my bad then. Your mistake was assuming it was to do with the distfiles used to build installed packages, but the above comment is wrong -D deletes any distfile that doesn't have a hash value recorded anywhere in your complete ports tree. i.e. it only deletes files that have no use. -DD deletes any distfile that doesn't have a hash value recorded for the installed ports i.e. it additionally deletes distfiles that correspond to deleted packages, even though such files are still potentially useful if you need to reinstall.