Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
question about /usr/portage/distfiles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
underactive
n00b
n00b


Joined: 18 Apr 2002
Posts: 8

PostPosted: Thu Apr 18, 2002 9:58 am    Post subject: question about /usr/portage/distfiles Reply with quote

i noticed that the size of my /usr/portage/distfiles is getting quite hefty (461MB) after less than a week of using gentoo... (and i must say this distro rocks -- i just switched over from redhat)

my question is if gentoo manages and maintains this folder automagically? or do i have to keep an eye on it and delete files when it gets too big? and if that's the case, is it safe to just "rm *" in this directory, or is there a "portage way" to do this?
Back to top
View user's profile Send private message
Oizoken
n00b
n00b


Joined: 17 Apr 2002
Posts: 18

PostPosted: Thu Apr 18, 2002 10:35 am    Post subject: Reply with quote

no portage way i'm aware of, and rm'ing em in that dir doesn't seem to fuck up portage so i guess it's safe to do manually

maybe we ought to have a portage option to set the max amount om mb used in that dir
Back to top
View user's profile Send private message
freefall
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2002
Posts: 89

PostPosted: Thu Apr 18, 2002 10:42 am    Post subject: Reply with quote

You can safely clean the distfiles directory. It's were all the sources are kept so if you re-emerge something it will just get downloaded again.
Back to top
View user's profile Send private message
Sylhouette
n00b
n00b


Joined: 18 Apr 2002
Posts: 70
Location: Beverwijk , Holland

PostPosted: Thu Apr 18, 2002 10:44 am    Post subject: Reply with quote

I have removed everything from that dir and nothing happens

It just put the downloads there en then use them after installing the package the fiel is no longen needed so it can be deleted

An option in emerge like --delete to delete the files after emerge would be nice..

Or something like that.
Back to top
View user's profile Send private message
NU-Slacker
Guest





PostPosted: Thu Apr 18, 2002 10:53 am    Post subject: Reply with quote

I would probably just add a script to /etc/cron.weekly/ to automatically clear the distfiles (maybe even check the creation date and delete after a certain period of time). That way, in case you do need the package again you can save some bandwidth and still use your disk space prudently.
Back to top
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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