View previous topic :: View next topic |
Author |
Message |
kaio Apprentice


Joined: 26 Aug 2003 Posts: 293 Location: Gorizia - IT
|
Posted: Thu Aug 28, 2003 6:56 pm Post subject: Cancellazione files |
|
|
Sapete per caso a cosa servono e se si possono cancellare i files in "/var/tmp/portage" ?
Grazie |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Thu Aug 28, 2003 6:59 pm Post subject: Re: Cancellazione files |
|
|
kaio wrote: | Sapete per caso a cosa servono e se si possono cancellare i files in "/var/tmp/portage" ?
Grazie |
Nella cartella /var/tmp/portage vengono starrati i pachetti e poi compilati.
Quindi una volta finito emerge puoi cancellarli tranquillamente. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
GabrieleB Guru


Joined: 22 Jul 2003 Posts: 317
|
Posted: Fri Aug 29, 2003 9:20 am Post subject: |
|
|
A proposito ... leggiucchiando (distrattamente) qua e la ho visto che ci sono varie directory in cui il portage mette dei file temporanei ... qualcuno ha la lista completa di cio' che si può cancellare ? O direttamente uno script che lo fa (pigrone mode ON) ...
Gabriele |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Fri Aug 29, 2003 10:11 am Post subject: |
|
|
GabrieleB wrote: | A proposito ... leggiucchiando (distrattamente) qua e la ho visto che ci sono varie directory in cui il portage mette dei file temporanei ... qualcuno ha la lista completa di cio' che si può cancellare ? O direttamente uno script che lo fa (pigrone mode ON) ...
Gabriele |
Di solito sono queste due le directory che usa portage (escludendo i
vari file di log)
Code: | /var/tmp/portge/
/usr/portage/distfiles |
Per lo script niente di piu' facile che un
Code: | #!/bin/sh
rm -r /var/tmp/portge/*
rm -r /usr/portage/distfiles/* |
PS: non mi assumo nessuna responsabilita'!! _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Fri Aug 29, 2003 11:10 am Post subject: |
|
|
fedeliallalinea wrote: | Code: | #!/bin/sh
rm -r /var/tmp/portge/*
rm -r /usr/portage/distfiles/* |
PS: non mi assumo nessuna responsabilita'!! |
:g/portge/s//portage/
:wq! _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
JacoMozzi l33t


Joined: 12 May 2003 Posts: 645 Location: Giubiasco world(EU(CH(TI)))
|
Posted: Fri Aug 29, 2003 5:01 pm Post subject: |
|
|
Quote: | :g/portge/s//portage/
:wq! |
Che finezza Cerri
Jaco |
|
Back to top |
|
 |
cerri Bodhisattva


Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Fri Aug 29, 2003 7:02 pm Post subject: |
|
|
 _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
 |
koma Advocate


Joined: 06 Jun 2003 Posts: 2702 Location: Italy
|
Posted: Fri Aug 29, 2003 7:26 pm Post subject: |
|
|
io ho fatto una cosa di sto tipo:
inserito in /etc/conf.d/local.start
Code: | echo -xxx- Rimozione file portage inutili
rm -r /var/tmp/portage/*
echo -xxx-
rm -r /usr/portage/distfiles/*
echo -xxx- Rimozione completata |
_________________ http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD |
|
Back to top |
|
 |
IgaRyu Guru


Joined: 23 Jan 2003 Posts: 302 Location: Verona
|
Posted: Sat Aug 30, 2003 6:07 am Post subject: |
|
|
Sara piu aggressivo ma io ho risolto cosi in local.start:
Code: |
ebegin "Purging /var/tmp/portage "
if [ -d /var/tmp/portage ]
then
rm -r /var/tmp/portage
fi
eend 0
|
Joe _________________ One Flew East
One Flew West
Some Flew On The Kukool's Nest |
|
Back to top |
|
 |
|