Gentoo Archives: gentoo-user

From: Mark David Dumlao <madumlao@×××××.com>
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 00:51:22
Message-Id: CAG2nJkMQU5PdBjZ4jx_S-z4399Jk32-iE4h0ZG0dXA3U9SgOqw@mail.gmail.com
In Reply to: Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo by Walter Dnes
1 On Sun, Sep 1, 2013 at 8:13 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > On Sat, Aug 31, 2013 at 02:19:56PM +0200, Joerg Schilling wrote
3 >
4 >> So there seems to be no real need to create a static linux kernel
5 >> with ZFS inside.
6 >
7 > See http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#book_part1_chap7
8 >
9 >> Now go to File Systems and select support for the filesystems you use.
10 >> Don't compile the file system you use for the root filesystem as
11 >> module, otherwise your Gentoo system will not be able to mount
12 >> your partition.
13 >
14 > You can get away with most stuff as modules; ***BUT NOT THE ROOT
15 > FILESYSTEM***. Think about it for a minute. Gentoo reads modules off
16 > the disk. If the code for the root filesystem is a module, Gentoo would
17 > have to read the module off the disk to enable it to read the module off
18 > the disk... OOPS. This is a classic "chicken and egg" situation.
19
20 And this is why the initrd was actually invented.
21 http://en.wikipedia.org/wiki/Initrd
22
23 It's a means of loading kernel modules so that the root filesystem can be
24 mounted as a module.
25 --
26 This email is: [ ] actionable [x] fyi [ ] social
27 Response needed: [ ] yes [ ] up to you [x] no
28 Time-sensitive: [ ] immediate [ ] soon [x] none

Replies

Subject Author
Re: Integrated ZFS for Gentoo - WAS Re: [gentoo-user] Optional /usr merge in Gentoo Pandu Poluan <pandu@××××××.info>