vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| .... some tool or script to reduce hard disk space ocuped by Gentoo safely and automatically?. My laptop has litte hard disk. I think I don't need most static libraries, or development libraries and headers for apps like mozilla and a lot of final applications that are not required to compile others ports, and are spending uselessly a precious disc space. Thanks |
| |||
| well you can save space by removing package groups that you don't use. if you creat a dir called /etc/portage and creat a file there called "rsync_excludes" and list all directories you don't want updated, like "app-cdr" since you don't own a burnner, theres no need for portage to download and keep files you will never use. best bet is to go into /urs/portage/ and add the groups to the "rsync_excludes" but make sure to take great care, many things are dependent. oh and also make sure you add this line to make.conf ( at the very bottom ) RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes "cluster" <clus_ter@hotpop.com> wrote in message news:2ufqblF2a8eohU1@uni-berlin.de... > > ... some tool or script to reduce hard disk space ocuped by Gentoo > safely and automatically?. My laptop has litte hard disk. I > think I don't need most static libraries, or development libraries and > headers for apps like mozilla and a lot of final applications that are > not required to compile others ports, and are spending > uselessly a precious disc space. > > Thanks > > > > |
| |||
| well you can save space by removing package groups that you don't use. if you creat a dir called /etc/portage and creat a file there called "rsync_excludes" and list all directories you don't want updated, like "app-cdr" since you don't own a burnner, theres no need for portage to download and keep files you will never use. best bet is to go into /urs/portage/ and add the groups to the "rsync_excludes" but make sure to take great care, many things are dependent. oh and also make sure you add this line to make.conf ( at the very bottom ) RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes "cluster" <clus_ter@hotpop.com> wrote in message news:2ufqblF2a8eohU1@uni-berlin.de... > > ... some tool or script to reduce hard disk space ocuped by Gentoo > safely and automatically?. My laptop has litte hard disk. I > think I don't need most static libraries, or development libraries and > headers for apps like mozilla and a lot of final applications that are > not required to compile others ports, and are spending > uselessly a precious disc space. > > Thanks > > > > |
| |||
| El Sat, 30 Oct 2004 02:47:38 -0400, M|6 escribió: > well you can save space by removing package groups that you don't use. Ok. I did't know that. But this only reduces space ocuppied by portage. I Was thinking about static libraries, headers, development libraries,... Then you can reduce a lot of space. It could be a script that analize portage dependencies, to find final apps not required to compile other ports and safely asking you to erase those files. |
| ||||
| cluster wrote: > ... some tool or script to reduce hard disk space ocuped by Gentoo > safely and automatically?. My laptop has litte hard disk. I think I > don't need most static libraries, or development libraries and headers > for apps like mozilla and a lot of final applications that are not > required to compile others ports, and are spending uselessly a > precious disc space. If you could tell us how much disk space you were aiming to save, it would be easier to target. Examples of typical space-savers: 1. Remove everything in /usr/portage/distfiles/. If you're on broadband, you'll not need it. 2. Ditto for /var/tmp/portage/. That's where failed merges take up lots of space. 3. Clean up the world file, run 'emerge -Duav --newuse world', then 'emerge -a depclean' 4. 2-300 MB can be saved by moving /usr/portage/ to a file system that has a block size of 1kb instead of 4kb. Can be loopback file system. 5. Uninstall stuff you don't think you need any more, then run 'emerge -a depclean' again How much this all saves can vary a lot, but you didn't say how much you were aiming to save, so it's difficult to see if this is enough. More esoteric cleanup procedures exist, but it's no longer low-hanging fruit. At some point it's just easier to buy a larger disk and clone it. -- PeKaJe Let us never negotiate out of fear, but let us never fear to negotiate. -- John F. Kennedy |