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: Sun, 31 Jul 2011 09:22:30
Message-Id: 4E351E14.50404@gentoo.org
In Reply to: Re: [gentoo-dev] Warn users not to do separate /usr partition without proper initramfs in the handbook? by William Hubbs
1 On 07/31/2011 04:56 AM, William Hubbs wrote:
2 > On Sun, Jul 31, 2011 at 04:40:33AM +0300, Samuli Suominen wrote:
3 >> On 07/31/2011 03:59 AM, Jorge Manuel B. S. Vicetto wrote:
4 >>> On 30-07-2011 22:17, William Hubbs wrote:
5 >>>> On Sat, Jul 30, 2011 at 10:27:27AM +0300, Samuli Suominen wrote:
6 >>>>> Since running separate /usr without mounting it from initramfs on
7 >>>>> top of / before init is and has been broken with udev for a long
8 >>>>> time now[1][2][3]
9 >>>>>
10 >>>>> [1] http://bugs.gentoo.org/show_bug.cgi?id=364235 [2]
11 >>>>> http://fedoraproject.org/wiki/Features/UsrMove#Move_all_to_.2Fusr
12 >>>>> [3]
13 >>>>> http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
14 >>>>>
15 >>>>>
16 >>>>>
17 >>> Can we warn users about not doing the separate /usr mistake in the handbook?
18 >>>
19 >>>> There are actually two options for us according to upstream. One is
20 >>>> the one you are talking about -- mounting /usr from an initramfs
21 >>>> before / is mounted. The other is to mount local file systems, if
22 >>>> setups are simple enough, before we start udev. I could set this one
23 >>>> up easily enough just by moving localmount to the boot runlevel.
24 >>>
25 >>>> Can we discuss both options?
26 >>> If there's any option that allows the use of a separate /usr partition
27 >>> without an initramfs, then let's explore it. I don't feel like having to
28 >>> use an initramfs just because I want a small / without /usr on it.
29 >>
30 >> The message is really missing all the context without explanation for
31 >> WHY you want it.
32 >
33 > Here is a good argument for supporting this.
34 >
35 > http://tldp.org/LDP/lame/LAME/linux-admin-made-easy/install-partitioning.html
36
37 The documentation seems to lack any arguments, bad or good, for the
38 separate /usr issue. Any chance you could highlight it out?
39
40 > You can hose your system easier with one big file system with / and
41 > /usr combined than you can with multiple partitions.
42
43 Too vague. Did you mean to compare filesystem size with the amount of
44 errors and it's capability to recover? To what effect, and same for
45 every filesystem type? Details please.
46
47 :-/
48
49 - Samuli