Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cleaning up my system...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dargosch
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 101

PostPosted: Fri Aug 29, 2003 5:46 pm    Post subject: Cleaning up my system... Reply with quote

Hi all,

I installed Gentoo on my work PPC laptop with a limited hardrive.
Since I have to keep Mac OS on it too :evil:, 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
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Fri Aug 29, 2003 6:37 pm    Post subject: Reply with quote

* 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
View user's profile Send private message
Lycander
Guru
Guru


Joined: 10 Apr 2003
Posts: 468

PostPosted: Fri Aug 29, 2003 7:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Fri Aug 29, 2003 8:08 pm    Post subject: Reply with quote

rsync transfers ~45MB, with filesystem overhead it can expand to ~100MB, I even heard 250MB on ext2
Back to top
View user's profile Send private message
Lycander
Guru
Guru


Joined: 10 Apr 2003
Posts: 468

PostPosted: Fri Aug 29, 2003 9:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Sat Aug 30, 2003 1:39 am    Post subject: Reply with quote

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 :oops: )
Back to top
View user's profile Send private message
dargosch
Tux's lil' helper
Tux's lil' helper


Joined: 21 Aug 2003
Posts: 101

PostPosted: Sat Aug 30, 2003 7:55 am    Post subject: Reply with quote

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.. :P
Back to top
View user's profile Send private message
og-phantom
n00b
n00b


Joined: 07 Aug 2003
Posts: 37

PostPosted: Sat Aug 30, 2003 9:50 am    Post subject: size of /usr/portage Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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