Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] supporting /usr on separate partition
Date: Sun, 16 Oct 2011 18:45:24
Message-Id: 4E9B261B.1010304@gentoo.org
In Reply to: Re: [gentoo-dev] supporting /usr on separate partition (was: Suggestion for getting rid of udev) by Ian Stakenvicius
1 On 10/16/2011 05:52 AM, Ian Stakenvicius wrote:
2 > On 15/10/11 06:07 PM, Zac Medico wrote:
3 >> On 10/15/2011 01:57 AM, Wulf C. Krueger wrote:
4 >>> On 15.10.2011 10:42, Michael Schreckenbauer wrote:
5 >>>> in what way will exherbo deal wih this mess? Are there any plans?
6 >>>
7 >>> We don't support /usr on a separate partition. People can, of course, do
8 >>> that and I'll point them to dracut for creating an initramfs.
9 >>>
10 >>> Or they can do whatever works for them. People using Exherbo are
11 >>> expected to be able to deal with such stuff.
12 >>
13 >> I don't think it's a good idea for Gentoo to encourage users to have
14 >> /usr on a separate partition. We should probably remove the separate
15 >> /usr partition from "Code Listing 2.1: Filesystem usage example" in our
16 >> handbook:
17 >>
18 >> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=4#doc_chap2_pre1
19 >>
20 >
21 > For desktops i've never seen much purpose of having /usr on its own
22 > partition (or more than the usual 3 of /boot,/,swap tbh), but for
23 > servers I have seen a lot of configurations over the years that put /usr
24 > on its own partition. Exherbo aside, I would expect that Gentoo would
25 > (continue to?) support doing this.
26
27 Well, you'll have to define the meaning of "support" in this context. I
28 simply said that it shouldn't be encouraged, with me reason being that
29 it tends to add unnecessary complexity (in violation of the KISS
30 principle [1]).
31
32 > As per the documentation itself, Code Listing 2.1 is i believe an
33 > example of what is possible, not what we are encouraging users to do.
34 > That doc seems pretty clear that the default is partitioning scheme is
35 > the default /boot,/,swap ...
36
37 Why should our main installation docs mention a configuration that the
38 vast majority of our users (all?) would be better off without?
39
40 > And just to confirm, doesn't udev's installation (which is primarily in
41 > /lib) support /usr on a separate partition now, without an initramfs?
42
43 What's the benefit of having /usr on a separate partition anyway? The
44 only somewhat reasonable explanation that I've heard is so that it can
45 be mounted readonly. If people want that, I think it's perfectly
46 reasonable to expect them to use either an initramfs or a simple linuxrc
47 approach [2] to ensure that /usr is mounted before init starts. For
48 complex configurations like this, we can have a separate page of docs,
49 like the raid+lvm2 page [3], and link it from the main installation docs
50 if we want.
51
52 [1] http://en.wikipedia.org/wiki/KISS_principle
53 [2]
54 http://archives.gentoo.org/gentoo-dev/msg_20749880f5bc5feda141488498729fe8.xml
55 [3] http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
56 --
57 Thanks,
58 Zac

Replies

Subject Author
Re: [gentoo-dev] supporting /usr on separate partition Graham Murray <graham@×××××××××××.uk>
Re: [gentoo-dev] supporting /usr on separate partition Ian Stakenvicius <axs@g.o>