Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Making a init thingy. Step two I guess.
Date: Sun, 18 Sep 2011 02:21:15
Message-Id: CA+czFiDhFYCeZXzx+0tw1dfYgC6K2EEXfNuiPSJH4sbVBco=Kg@mail.gmail.com
In Reply to: Re: [gentoo-user] Making a init thingy. Step two I guess. by Dale
1 On Sat, Sep 17, 2011 at 10:13 PM, Dale <rdalek1967@×××××.com> wrote:
2 > Michael Mol wrote:
3
4 [snippage]
5
6 > Ahhhhh.  I see now.  So, it mounts proc and sys but that is in the init then
7 > it mounts the real root outside the init.  Then it umounts the proc and sys
8 > under the init and then switches to the real root and starts init there.
9 >
10 > Where does /usr and /var come in here?  Isn't the init supposed to mount
11 > that too?  Do I add that myself?  If so, when to fsck get ran?
12
13 From the look of it, yeah, it'd be your responsibility to do that in
14 the "# Do your stuff here." area.
15
16 Probably why the script has a line that says: echo "This script mounts
17 rootfs and boots it up, nothing more!"
18
19 --
20 :wq

Replies

Subject Author
Re: [gentoo-user] Making a init thingy. Step two I guess. Pandu Poluan <pandu@××××××.info>