Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo
Date: Sun, 01 Sep 2013 03:43:45
Message-Id: CAA2qdGX-RtxZviC0DHaLKpsC=y0GHMzeyQA5L0dUL1Fp+B19aw@mail.gmail.com
In Reply to: Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo by Mark David Dumlao
1 On Sep 1, 2013 7:51 AM, "Mark David Dumlao" <madumlao@×××××.com> wrote:
2 >
3 > On Sun, Sep 1, 2013 at 8:13 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
4 > > On Sat, Aug 31, 2013 at 02:19:56PM +0200, Joerg Schilling wrote
5 > >
6 > >> So there seems to be no real need to create a static linux kernel
7 > >> with ZFS inside.
8 > >
9 > > See
10 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap7
11 > >
12 > >> Now go to File Systems and select support for the filesystems you use.
13 > >> Don't compile the file system you use for the root filesystem as
14 > >> module, otherwise your Gentoo system will not be able to mount
15 > >> your partition.
16 > >
17 > > You can get away with most stuff as modules; ***BUT NOT THE ROOT
18 > > FILESYSTEM***. Think about it for a minute. Gentoo reads modules off
19 > > the disk. If the code for the root filesystem is a module, Gentoo would
20 > > have to read the module off the disk to enable it to read the module off
21 > > the disk... OOPS. This is a classic "chicken and egg" situation.
22 >
23 > And this is why the initrd was actually invented.
24 > http://en.wikipedia.org/wiki/Initrd
25 >
26 > It's a means of loading kernel modules so that the root filesystem can be
27 > mounted as a module.
28
29 Not everyone is willing to use an initr* thingy. It's another potential
30 breaking point.
31
32 I have no problem with /usr being 'merged' with /, in fact I have been
33 doing that for a couple of years now.
34
35 But I will keep myself a mile away from an initr* thingy.
36
37 Rgds,
38 --