View previous topic :: View next topic |
Author |
Message |
dargosch Tux's lil' helper
Joined: 21 Aug 2003 Posts: 101
|
Posted: Fri Aug 29, 2003 5:46 pm Post subject: Cleaning up my system... |
|
|
Hi all,
I installed Gentoo on my work PPC laptop with a limited hardrive.
Since I have to keep Mac OS on it too , you can see that I am a bit worried about the size of gentoo..
So, now I am wondering if there is something I could do to reduce the size of the installation... cache cleanups and source removal and so on..
Thankful for all the tips I can get. |
|
Back to top |
|
|
bonsaikitten Apprentice
Joined: 01 Jan 2003 Posts: 213 Location: Shanghai, China
|
Posted: Fri Aug 29, 2003 6:37 pm Post subject: |
|
|
* remove all files in /usr/portage/distfiles
* remove all files in /usr/portage/packages
if you need another 100Megs and don't plan to upgrade any package:
*remove /usr/portage
there might also be temporary files in /tmp , /var/tmp |
|
Back to top |
|
|
Lycander Guru
Joined: 10 Apr 2003 Posts: 468
|
Posted: Fri Aug 29, 2003 7:04 pm Post subject: |
|
|
bonsaikitten wrote: | if you need another 100Megs and don't plan to upgrade any package:
*remove /usr/portage |
I don't recall /usr/portage being upwards to 100 Megs. The portage directory with just the ebuild files and such and empty /distfiles and /packages is roughly 10 Megs for me. _________________ * Blessing /dev/hda2 with holy penguin pee |
|
Back to top |
|
|
bonsaikitten Apprentice
Joined: 01 Jan 2003 Posts: 213 Location: Shanghai, China
|
Posted: Fri Aug 29, 2003 8:08 pm Post subject: |
|
|
rsync transfers ~45MB, with filesystem overhead it can expand to ~100MB, I even heard 250MB on ext2 |
|
Back to top |
|
|
Lycander Guru
Joined: 10 Apr 2003 Posts: 468
|
Posted: Fri Aug 29, 2003 9:54 pm Post subject: |
|
|
Ahh, silly me. I forgot about the overhead of journaling file systems. I stand corrected!
To be honest, I came up with that 10 Meg figure from the Gentoo docs, plus rsyncing didn't seem like it was downloading a whole lot, yet I have no way of actually measuring the amount of data transfered. _________________ * Blessing /dev/hda2 with holy penguin pee |
|
Back to top |
|
|
bonsaikitten Apprentice
Joined: 01 Jan 2003 Posts: 213 Location: Shanghai, China
|
Posted: Sat Aug 30, 2003 1:39 am Post subject: |
|
|
ehhh.. What overhead of yournalling filesystems?
ext3 has exactly the same requirements as ext2, so files take the exact same amount of space.
du-h /usr/portage:
973M /usr/portage/distfiles
176K /usr/portage/packages
1.2G /usr/portage
--> ~250MB in /usr/portage ...
(Maybe I should clean the distfiles directory ) |
|
Back to top |
|
|
dargosch Tux's lil' helper
Joined: 21 Aug 2003 Posts: 101
|
Posted: Sat Aug 30, 2003 7:55 am Post subject: |
|
|
bonsaikitten wrote: | * remove all files in /usr/portage/distfiles
* remove all files in /usr/portage/packages
if you need another 100Megs and don't plan to upgrade any package:
*remove /usr/portage
there might also be temporary files in /tmp , /var/tmp |
This solved my space requirements.. 900 Megs in distfiles cleaned.. |
|
Back to top |
|
|
og-phantom n00b
Joined: 07 Aug 2003 Posts: 37
|
Posted: Sat Aug 30, 2003 9:50 am Post subject: size of /usr/portage |
|
|
wow, i dont feel so lucky
du -h /usr/portage
1.5G /usr/portage/distfiles
1.8G /usr/portage
120Gig HDs come in handy |
|
Back to top |
|
|
|