From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 22 04:47:21 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E944916A41F for ; Mon, 22 Aug 2005 04:47:21 +0000 (GMT) (envelope-from caelian@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82BF043D45 for ; Mon, 22 Aug 2005 04:47:21 +0000 (GMT) (envelope-from caelian@gmail.com) Received: by zproxy.gmail.com with SMTP id z6so640035nzd for ; Sun, 21 Aug 2005 21:47:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=FwwOj1HtMA6A9UJ6shobR2cCfATQfk/Plc5QOzeTT6QFAdOe3lJTevMt57DBgt46TTmAkZCiObrBAPnsb+dk8JP6KuXPb58N3JYSeQnCKyz+BmJGy+NRkUvaeBNJjL9AilDZlAgTKqRls/mMj+0g0SE4gJjUKNxycG7Yhdy1ekI= Received: by 10.36.247.20 with SMTP id u20mr3299878nzh; Sun, 21 Aug 2005 21:47:20 -0700 (PDT) Received: from ?192.168.15.102? ([68.190.230.198]) by mx.gmail.com with ESMTP id p4sm3038143nzc.2005.08.21.21.47.20; Sun, 21 Aug 2005 21:47:20 -0700 (PDT) From: Pascal Hofstee To: Peter Jeremy In-Reply-To: <20050822043647.GB37107@cirb503493.alcatel.com.au> References: <20050822043647.GB37107@cirb503493.alcatel.com.au> Content-Type: text/plain Date: Sun, 21 Aug 2005 21:47:18 -0700 Message-Id: <1124686038.834.0.camel@synergy.charterpipeline.net.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.3.7 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: Locating obsolete ports distfiles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 04:47:22 -0000 On Mon, 2005-08-22 at 14:36 +1000, Peter Jeremy wrote: > I currently have just over 8GB is /usr/ports/distfiles. Some of these > files are more than 10 years old and long obsolete. Does anyone have > any suggestions on how to identify which files are no longer referenced > by current ports? > > Doing a 'make checksum' on every installed port and then looking at > the atimes is one approach but this doesn't handle: > - ports that I don't currently have installed but might need > - ports installed on systems that mount /usr/ports readonly sysutils/portupgrade (specifically .. portsclean -D) -- Pascal Hofstee