From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dve6L-0007NH-4w for garchives@archives.gentoo.org; Thu, 21 Jul 2005 16:40:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6LGdWCS019472; Thu, 21 Jul 2005 16:39:32 GMT Received: from smtp807.mail.ukl.yahoo.com (smtp807.mail.ukl.yahoo.com [217.12.12.197]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6LGZsUH010265 for ; Thu, 21 Jul 2005 16:35:54 GMT Received: (qmail 12776 invoked from network); 21 Jul 2005 16:36:10 -0000 Received: from unknown (HELO wadham.oxford.ac.uk) (jmconveyors@86.133.24.61 with plain) by smtp807.mail.ukl.yahoo.com with SMTP; 21 Jul 2005 16:36:10 -0000 Received: by wadham.oxford.ac.uk (nbSMTP-0.99) for uid 1000 david.morgan@wadham.oxford.ac.uk; Thu, 21 Jul 2005 17:31:05 +0100 (BST) Date: Thu, 21 Jul 2005 17:31:05 +0100 From: David Morgan To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] pruning /usr/portage/distfiles/ Message-ID: <20050721163105.GA31744@valinor.dynalias.net> Mail-Followup-To: gentoo-user@lists.gentoo.org References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-Archives-Salt: 7143c638-6fe7-472e-bef3-3bc3899c9381 X-Archives-Hash: 28a7d769e243cdf1c7b268126ff9b559 On 16:22 Thu 21 Jul , James wrote: > Hello, > > /usr is the only partion I seem to have trouble filling up. After > poking around I've decided to 'prune' /usr/portage/distfiles. > > Before automating this action, via crontab, I'm soliciting > any other, slicker/cooler/better method to auto prune > /usr/portage/distfiles. I use tmpwatch to do this - it deletes files that haven't been accessed for a certain amount of time (but only in directories specified by you). It's in portage, and comes with a default config file that's pretty good if you just uncomment a few lines, and includes an entry for distfiles, so you don't have to do much to set it up. If you search forums.gentoo.org you'll probably find various scripts for removing source for older versions of packages, some of which are quite sophisticated. I prefer the tmpwatch route but others prefer the other approach. -- gentoo-user@gentoo.org mailing list