View previous topic :: View next topic |
Author |
Message |
underactive n00b
Joined: 18 Apr 2002 Posts: 8
|
Posted: Thu Apr 18, 2002 9:58 am Post subject: question about /usr/portage/distfiles |
|
|
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 |
|
|
Oizoken n00b
Joined: 17 Apr 2002 Posts: 18
|
Posted: Thu Apr 18, 2002 10:35 am Post subject: |
|
|
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 |
|
|
freefall Tux's lil' helper
Joined: 13 Apr 2002 Posts: 89
|
Posted: Thu Apr 18, 2002 10:42 am Post subject: |
|
|
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 |
|
|
Sylhouette n00b
Joined: 18 Apr 2002 Posts: 70 Location: Beverwijk , Holland
|
Posted: Thu Apr 18, 2002 10:44 am Post subject: |
|
|
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 |
|
|
NU-Slacker Guest
|
Posted: Thu Apr 18, 2002 10:53 am Post subject: |
|
|
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 |
|
|
|