Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keeping it tiny?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
nenn
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2005
Posts: 95
Location: NYC, NY

PostPosted: Sun Jun 05, 2005 5:24 pm    Post subject: keeping it tiny? Reply with quote

i dont understand why the gentoo install finishes, w/o Xorg or a WM and its just about at 2gigs, thats insane, i deleted the files in /usr/portage/distfiles and /tmp/var/portage and now its a 1.5 gigs, how the hell can i make it 1 gig i dont want to have to use another distro because of file sizes, please help!

thx in advance
_________________
Who says i cant grow up to become a robot?
They all just want to crush my dreams damnit.
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Sun Jun 05, 2005 8:16 pm    Post subject: Reply with quote

I think there is no way to trim it down much. My portage tree without distfiles is about 400mb and i complained about it on the forums but noone could see a solution to that.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jun 06, 2005 1:38 am    Post subject: Reply with quote

Well, the portage tree can be kept on a compressed filesystem image (loopback), or mounted over NFS. Either solution frees up a bunch of space. When dealing with small spaces though, the best thing to do is to do all of your compiling on another machine and use binary packages. Also, keeping close tabs on your use flags will help to reduce the ammount of space used by dependencies. For instance, using userlocales can save some space as can not building documentation.

Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
NewBlackDak
Guru
Guru


Joined: 02 Nov 2003
Posts: 512
Location: Utah County, UT

PostPosted: Tue Jun 07, 2005 3:34 am    Post subject: Reply with quote

I have /usr/portage shared over NFS on my home network.

Seems to work fine. I only emerge sync the the NFS machine.

5 machines use it, and I've had as many as 3 emerging at the same time.
_________________
Gentoo systems.
X2 4200+@2.6 - Athy
X2 3600+ - Myth
UltraSparc5 440 - sparcy
Back to top
View user's profile Send private message
glurps
Apprentice
Apprentice


Joined: 11 Mar 2004
Posts: 292

PostPosted: Tue Jun 07, 2005 1:33 pm    Post subject: Reply with quote

you could exclude parts of the portagetree that you dont need with /etc/portage/rsync_excludes.
Back to top
View user's profile Send private message
jdv
n00b
n00b


Joined: 05 Apr 2003
Posts: 34
Location: Copenhagen, Denmark

PostPosted: Tue Jun 07, 2005 2:57 pm    Post subject: Reply with quote

Also localepurge might be able to free some space for you...
_________________
Your lucky number is 3552664958674928. Watch for it everywhere.
Back to top
View user's profile Send private message
Jake
Veteran
Veteran


Joined: 31 Jul 2003
Posts: 1132

PostPosted: Wed Jun 08, 2005 2:55 am    Post subject: Reply with quote

crazycat wrote:
I think there is no way to trim it down much. My portage tree without distfiles is about 400mb and i complained about it on the forums but noone could see a solution to that.

If you're using ext3, it probably your own fault. Create a filesystem with a 1k block size and you'll get something more in the ~130Mb range like my portage tree on reiser4.
Back to top
View user's profile Send private message
Chellovek
n00b
n00b


Joined: 07 Jun 2005
Posts: 7

PostPosted: Wed Jun 08, 2005 7:05 am    Post subject: Reply with quote

I'm using RSYNC_EXCLUDEFROM in order to specify what I want, i.e.

Code:

+ profiles/
+ profiles/default-linux/
+ profiles/default-linux/ppc/
+ profiles/default-linux/ppc/**
- profiles/default-linux/*/
+ profiles/default-linux/*
- profiles/*/
+ profiles/*
+ scripts/
+ scripts/**
+ app-arch/
+ app-arch/unrar/
+ app-arch/unrar/**
+ app-arch/unzip/
+ app-arch/unzip/**
+ app-arch/zip/
+ app-arch/zip/**
- *


My portage tree weighs in at 25M and sync is much quicker, since I only update what I actually intend to use : )
Back to top
View user's profile Send private message
Flamie
Tux's lil' helper
Tux's lil' helper


Joined: 29 Apr 2004
Posts: 106
Location: Gothenburg, Sweden

PostPosted: Sat Jun 25, 2005 1:38 pm    Post subject: Reply with quote

"RSYNC_EXCLUDEFROM"

sounds like a great thing to do, where do I store this information?
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Sat Jul 02, 2005 2:45 pm    Post subject: Reply with quote

Add the following line to your "/etc/make.conf":
Code:

RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes

After that create that specified file and put in the informations.

Mfg

Sino
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Sat Jul 02, 2005 6:45 pm    Post subject: Reply with quote

I'll try that rsync_excludes. Anyway sometimes i really miss ntfs feature where u can compress some folders via a pair of mouseclicks. I would be nice if some linux filesystems supported partial compression.
Back to top
View user's profile Send private message
lost+found
Guru
Guru


Joined: 15 Nov 2004
Posts: 508
Location: North~Sea~Coa~s~~t~~~

PostPosted: Sat Aug 27, 2005 9:45 am    Post subject: Reply with quote

rsync manpage, EXCLUDE PATTERNS section
;-)

A handy little script for rsync excludes....
https://forums.gentoo.org/viewtopic-p-2682841.html#2682841
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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