On Fri, 2003-11-07 at 22:24, Matt Chorman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 07 November 2003 05:42 am, Hall Stevenson wrote:
> > Really ?? I know you can safely delete /var/tmp/distfiles, but I've always
> > left the others alone. They do just appear to be directories though with
> > just one file, .ebuild ??
> >
> > Not to go off-topic and maybe I'll start a new thread about this, but when
> > you delete this kind of stuff, how does emerge know how/what to remove when
> > you do an "emerge -C package-name" ??
> 
> Portage stores file information in /var/db/pkg - anything under /var/tmp is 
> just that - temp files that can be safely deleted. Granted, in some ways it 
> is nice to keep that stuff around, but I recently ran out of diskspace as I 
> had 5gigs plus on /var/tmp/portage..... Ack! Remove everything under /var/
> tmp/portage (leave the portage dir!), without fear of screwing anything 
> up. ;-)

Okay, I realize I'm being lazy here, but can I delete the directories
distfiles, portage, and portage-pkg, and the files in them obviously,
and have emerge/portage re-create those directories ?? Or, should you
just delete the files inside and leave the dirs there ??

I do recall a message recently about files in /var/tmp and that apps can
"expect" them to remain there vs being deleted. Is there a bootup script
that normally empties /tmp and other 'tmp' dirs ??

Hall


--
[EMAIL PROTECTED] mailing list

Reply via email to