Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Suggestion for getting rid of udev
Date: Tue, 18 Oct 2011 18:04:19
Message-Id: 4E9DBF59.3000800@gentoo.org
In Reply to: Re: [gentoo-dev] Suggestion for getting rid of udev by Joost Roeleveld
1 On 10/17/2011 01:59 PM, Joost Roeleveld wrote:
2 > On Sunday, October 16, 2011 12:33:51 PM Zac Medico wrote:
3 >> If those LVM volumes require userspace tools to mount, then I think it's
4 >> perfectly reasonable to expect them to use either an initramfs or a
5 >> simple linuxrc approach [1] to ensure that /usr is mounted before init
6 >> starts.
7 >>
8 >> [1]
9 >> http://archives.gentoo.org/gentoo-dev/msg_20749880f5bc5feda141488498729fe8.xml
10 >
11 > If this approach works, would it be an option to add this to the LVM [1] and
12 > RAID+LVM [2] pages?
13
14 You can use a linuxrc instead of an initramfs as long as your root
15 filesystem can be mounted automatically via kernel parameters, and that
16 root filesystem contains the necessary userspace tools (like busybox and
17 lvm) to mount everthing else that's required to be mounted before init
18 starts.
19
20 > [1]
21 > http://www.gentoo.org/doc/en/lvm2.xml
22 >
23 > [2]
24 > http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
25 --
26 Thanks,
27 Zac