Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Warn users not to do separate /usr partition without proper initramfs in the handbook?
Date: Mon, 01 Aug 2011 12:48:55
Message-Id: 4E369FE6.9040101@gentoo.org
In Reply to: Re: [gentoo-dev] Warn users not to do separate /usr partition without proper initramfs in the handbook? by Samuli Suominen
1 On 08/01/2011 03:25 PM, Samuli Suominen wrote:
2 > On 08/01/2011 02:32 PM, Kacper Kowalik wrote:
3 >> W dniu 01.08.2011 13:12, Marc Schiffbauer pisze:
4 >>> * Samuli Suominen schrieb am 01.08.11 um 09:23 Uhr:
5 >>>> On 07/31/2011 05:23 PM, Michał Górny wrote:
6 >>>>> On Sat, 30 Jul 2011 16:55:23 +0300
7 >
8 > [ .. ]
9 >
10 >> I am a zeleous follower of having seperate /usr partition, thus seeing
11 >> moot arguments that goes "in favour" of "my" case is pretty annoying.
12 >
13 > need to have a verifiable reason in order to block a feature that would
14 > add, not remove, functionality.
15 >
16 > trying to find an right answer to wrong question, and preventing "what
17 > could be progress" for selfish reasons can be annoying too. that is, in
18 > addition to the hatemail with no actual point in them.
19
20 just to clarify, that wasn't in anyway for you, or anyone in particular...
21
22 >
23 >>> * Some people want a read-only /usr
24 >> Yes, that's only reasonable argument here.
25 >
26 > see $subject, " ... without proper initramfs"
27 >
28 > using a separate /usr would still be possible read-only, with an
29 > initramfs created by dracut
30
31 http://fedoraproject.org/wiki/Features/UsrMove
32 http://fedoraproject.org/wiki/Features/UsrMove#Example_F15
33
34 "Provide a way of mounting /usr read-only and share it between multiple
35 hosts to save maintenance and space."
36
37 "There is no way to reliably bring up a modern system with an empty
38 /usr, there are two alternatives to fix it: copy /usr back to the rootfs
39 or use an initramfs which can hide the split-off from the system."
40
41 "Historically /bin, /sbin, /lib had the purpose to contain the utilities
42 to mount /usr. This role can now be taken by the initramfs. Because the
43 initramfs knows, where to find the root partition (which includes /etc),
44 it can parse /etc/fstab and other configuration files and mount /usr
45 before it finally switches the root partition and executes
46 /usr/bin/init. From this point on init mounts the remaining partitions
47 in /etc/fstab and the system starts as usual."
48
49 >>
50 >> Cheers,
51 >> Kacper
52 >>
53 >
54 >

Replies