Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
system cleanup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
flazz
Guru
Guru


Joined: 22 Nov 2003
Posts: 496
Location: Florida

PostPosted: Wed Mar 09, 2005 9:58 pm    Post subject: system cleanup Reply with quote

i'm wondering if it is safe to clean out /var/tmp/portage and /usr/portage/distfiles.

i also noticed that my /var/log/messages is 22M. what is the proper technique for cleaning logs?

are there any other things i might want to look into cleaning out?
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Wed Mar 09, 2005 11:06 pm    Post subject: Reply with quote

Yep, perfectly safe to remove the files in /usr/portage/distfiles and all the junk in /var/tmp/portage, but don't delete the directories themselves. Do like this:
Code:
# rm -fr /usr/portage/distfiles/* /var/tmp/portage/*


Might want to look into 'logrotate' for pruning those log files. I haven't done much with that so maybe someone else will comment on that.
Back to top
View user's profile Send private message
firetwister
n00b
n00b


Joined: 09 Feb 2005
Posts: 51

PostPosted: Fri Mar 11, 2005 10:41 am    Post subject: Reply with quote

emptying /usr/portage/distfiles is safe but if a new revision of a programm is coming out everything will be fetched again, not only the new patches!
Back to top
View user's profile Send private message
winston_nolan
n00b
n00b


Joined: 24 Aug 2004
Posts: 71
Location: cape town, south africa

PostPosted: Fri Mar 11, 2005 10:53 am    Post subject: system cleanup Reply with quote

/usr/portage/distfiles is my most important dir :)
it's all my goodies man. i dont sudgest cleaning that ever! keep it, cause then you can copy it to a drive and youll always have the latest apps that you have say on your work drive.

look into logrotate for the log files. works like a bomb

later
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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