Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(advanced) Partition structure .. need filesystem suggestion
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
shazow
Apprentice
Apprentice


Joined: 11 Dec 2003
Posts: 176
Location: Canada, Ontario

PostPosted: Mon Sep 05, 2005 2:33 am    Post subject: (advanced) Partition structure .. need filesystem suggestion Reply with quote

Greetings. Quick pretext: I've installed Gentoo a couple of times before, so I don't need excessive detail, just a couple of suggestions.

I'm finally installing Gentoo on my laptop (Inspiron 8500), and I want to make the cleanest partition structure I can.
I have a 40 gig hard drive. My main question is: Do many people put their portage directory in its own partition? If so, what filesystem do you use?

Clearly each filesystem has its strengths and weaknesses, so I'm trying to put each one to good use, if I can.

I've read somewhere about filesystems which are extremely good at text compression, would that be beneficial for the portage directory, since ebuilds are mostly plaintext? Naturally, the distfiles directory would have to be remounted elsewhere, since it would contain binary archives. I'm not particularly concerned about speed or security in terms of the portage partition, I just want it to be stable and not take up too much space.

For boot I'd probably use ext2, for root and home I'll try reiserfs...

What other partitions, other than root, home, boot and swap, do people like to put separately? What about the /tmp? What kind of filesystem would be ideal for a partition that is often written/read? (Speed is probably more important here than the portage partition.)

Is there some sort of overall guide for this kind of thing (I wasn't able to find one)? If not, maybe I'll write one once I get enough research together. :-)

Thanks in advance,
- shazow
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Sep 05, 2005 4:09 am    Post subject: Reply with quote

Some people like to have /usr seperate. That takes care of /usr/portage, but not /var/tmp/portage...

I like to stick to the standard:

Code:
/boot
/
swap
/home

And then do the following for portage . . .
Code:
mkdir /home/portage
cd !$
mkdr portage log tmp
cd !$
mkdir portage .ccache .distcc
chown -R portage:portage /home/portage
rm /usr/portage
ln -sf /home/portage/portage /usr/portage
ln -sf /home/portage/log /var/log/portage
ln -sf /home/portage/tmp/portage /var/tmp/portage

And in make.conf:
Code:
PORTDIR=/home/portage/portage
PORTAGE_TMPDIR=/home/portage/tmp
DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"
CCACHE_DIR="${PORTAGE_TMPDIR}/.ccache"
PORT_LOGDIR=/home/portage/log


It's a little long, but it does the job nicely.
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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