Gentoo Archives: gentoo-dev

From: Sven Vermeulen <swift@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] supporting /usr on separate partition
Date: Mon, 17 Oct 2011 20:02:16
Message-Id: 20111017200135.GA27806@gentoo.org
In Reply to: Re: [gentoo-dev] supporting /usr on separate partition by Ian Stakenvicius
1 On Mon, Oct 17, 2011 at 01:50:04PM -0400, Ian Stakenvicius wrote:
2 > > If someone wants to take on the burden of maintaining an init wrapper
3 > > like that, then I guess that's fine. However, I wouldn't consider it to
4 > > be an absolute requirement. I think it would be fine (maybe preferable)
5 > > to simply provide a doc that describes how to mount /usr via an
6 > > initramfs or linuxrc init wrapper. Such a doc would only be needed by
7 > > those users who require that /usr be on a separate partition.
8 >
9 > This makes sense. So the Handbook could be updated with a caveat after
10 > the large partition example to say something like "/usr on it's own
11 > partition needs special consideration, please see XXXXX" ... this$
12 > works.
13
14 (Ian, it's a general reply, not specific to your e-mail)
15
16 I've updated the Gentoo Handbook just a few moments ago to mention something
17 like this in the introduction of the partition section "How Many and How
18 Big":
19
20 --Snippet from the commit result:
21 <p>
22 However, multiple partitions have disadvantages as well. If not configured
23 properly, you will have a system with lots of free space on one partition
24 and none on another. Another nuisance is that separate partitions - especially
25 for important mountpoints like <path>/usr</path> or <path>/var</path> -
26 often require the administrator to boot with an initramfs to mount the partition
27 before other boot scripts start. This isn't always the case though, so YMMV.
28 </p>
29
30 <p>
31 There is also a 15-partition limit for SCSI and SATA unless you use GPT
32 labels.
33 </p>
34 --End Snippet
35
36 Now, I must say I find it strange that people think that the Gentoo Handbook
37 suggests users to use a separate /usr partition. It does not. The default
38 partitioning that we use is a separate /boot (yes, this can and has been
39 debated in the past, I'm not going to change this) and / with a separate
40 swap partition. Nothing more, nothing less. There are a few code listings
41 where an example output is given which holds a separate /usr but I hope all
42 those listings are clear that they are examples.
43
44 It also states that this is an example we use in the Gentoo Handbook and
45 that it depends on the user how he wants his partition scheme layed out.
46
47 I'm hoping that the above update clarifies this sufficiently so that huge
48 threads like this one don't need to reappear again ;-) If you think it is
49 still unclear or needs improvements left or right, don't hesitate to mail me
50 or, even better, file a bugreport (I act better on bug reports than on
51 e-mails).
52
53 Oh, and I use a separate /usr with no initramfs (yet), with software raid
54 and lvm2.
55
56 /me quickly hides
57
58 Wkr,
59 Sven Vermeulen

Replies

Subject Author
Re: [gentoo-dev] supporting /usr on separate partition Zac Medico <zmedico@g.o>