Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cancellazione files
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
kaio
Apprentice
Apprentice


Joined: 26 Aug 2003
Posts: 293
Location: Gorizia - IT

PostPosted: Thu Aug 28, 2003 6:56 pm    Post subject: Cancellazione files Reply with quote

Sapete per caso a cosa servono e se si possono cancellare i files in "/var/tmp/portage" ?

Grazie
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31354
Location: here

PostPosted: Thu Aug 28, 2003 6:59 pm    Post subject: Re: Cancellazione files Reply with quote

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
View user's profile Send private message
GabrieleB
Guru
Guru


Joined: 22 Jul 2003
Posts: 317

PostPosted: Fri Aug 29, 2003 9:20 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31354
Location: here

PostPosted: Fri Aug 29, 2003 10:11 am    Post subject: Reply with quote

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
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Fri Aug 29, 2003 11:10 am    Post subject: Reply with quote

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
View user's profile Send private message
JacoMozzi
l33t
l33t


Joined: 12 May 2003
Posts: 645
Location: Giubiasco world(EU(CH(TI)))

PostPosted: Fri Aug 29, 2003 5:01 pm    Post subject: Reply with quote

Quote:
:g/portge/s//portage/
:wq!

Che finezza Cerri :)
Jaco
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Fri Aug 29, 2003 7:02 pm    Post subject: Reply with quote

8)
_________________
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
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Fri Aug 29, 2003 7:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Sat Aug 30, 2003 6:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum