Talk:TIP Free up disk space in Gentoo
From Gentoo Linux Wiki
Contents |
[edit] -Ox CFLAG explenations,test,etc
I would like to see some parts of this section expanded. Particularly the part about CFLAGS. The article mentions that -Os can actually be faster than -03. Could some one expanded on this, explanations, tests, etc.?
Thanks, Chris R.
- That would be rather hard to test for real, what the author probable meant is the excessive optimizations can make a binary larger, and on some system configurations a larger program that's optimized is slower than a smaller binary which isn't. Mostly because of loading times, harddisk access that sort of stuff.
- - Hatsuseno
[edit] eupdatedb not found
"TIP: I'd recommend emerge gentoolkit and then use eupdatedb && eysnc before re-emerging your system."
- This doesn't appear to work. I just did this exactly and its not working :
>>> app-portage/gentoolkit-0.2.1_pre7 merged. >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. tim@beast ~ $ eupdatedb && eysnc -bash: eupdatedb: command not found tim@beast ~ $ su Password: beast tim # eupdatedb && eysnc bash: eupdatedb: command not found
Has it been depreciated from gentoolkit ?
- i dont, if it ever was:
gentoo ~ # qfile eupdatedb app-portage/esearch (/usr/sbin/eupdatedb)
[edit] /etc/locales.build
i read here (sry its german) that you can also save about 200Mb if you comment out all langages you dont actually need. means for me:
gentoo ~ # grep -v ^# /etc/locales.build |grep ^. en_US/ISO-8859-1 en_US.UTF-8/UTF-8 de_DE/ISO-8859-1 de_DE.UTF-8/UTF-8
btw: i edited the layout of this page. maybe you should have a look into FAQ_Write_an_Article before writing anything :)
[edit] use app-portage/portage-utils to find dubs
Sometimes it might be helpfull to do something like "qlist -IDva", which will list all the packages of which more than one version is installed.
[edit] In Remove Unneeded Kernel Sources
The command, returns:
du -sh --max-depth=1 /usr/src/* du: warning: summarizing conflicts with --max-depth=1
[edit] INSTALL_MASK
To keep gentoo away from installing unwanted files like Changelog.gz or Author.gz TODO.gz, just add following line to your/etc/make.conf
| File: /etc/make.conf |
|
INSTALL_MASK="Changelog.gz TODO.gz Author.gz"
|
