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.
<snip>

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

Reply via email to