Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Cc: "Nuno J. Silva" <nunojsilva@×××××××.pt>
Subject: Re: [gentoo-user] Re: Anyone switched to eudev yet?
Date: Thu, 27 Dec 2012 19:45:08
Message-Id: 2275581.LCmW1syEqB@localhost
In Reply to: [gentoo-user] Re: Anyone switched to eudev yet? by nunojsilva@ist.utl.pt (Nuno J. Silva)
1 Am Sonntag, 23. Dezember 2012, 19:44:43 schrieb Nuno J. Silva:
2 > On 2012-12-23, Alan Mackenzie wrote:
3 > > On Sun, Dec 23, 2012 at 07:03:25PM +0200, Nuno J. Silva wrote:
4 > >> On 2012-12-23, Alan McKinnon wrote:
5 > >> > On Sun, 23 Dec 2012 12:22:24 +0200
6 > >> >
7 > >> > nunojsilva@×××××××.pt (Nuno J. Silva) wrote:
8 > >> >> On 2012-12-18, Alan McKinnon wrote:
9 > >> >> > On Tue, 18 Dec 2012 09:08:53 -0500
10 > >> >> > Michael Mol <mikemol@×××××.com> wrote:
11 > >> >> >
12 > >> >> > This sentence summarizes my understanding of your post nicely:
13 > >> >> >> Now, why is /usr special? It's because it contains executable code
14 > >> >> >> the system might require while launching.
15 > >> >> >
16 > >> >> > Now there are only two approaches that could solve that problem:
17 > >> >> >
18 > >> >> > 1. Avoid it entirely
19 > >> >> > 2. Deal with it using any of a variety of bootstrap techniques
20 > >> >> >
21 > >> >> > #1 is handled by policy, whereby any code the system might require
22 > >> >> > while launching is not in /usr.
23 > >> >> >
24 > >> >> > #2 already has a solution, it's called an init*. Other solutions
25 > >> >> > exist but none are as elegant as a throwaway temporary filesystem
26 > >> >> > in RAM.
27 > >> >>
28 > >> >> What about just mounting /usr as soon as the system boots?
29 > >> >
30 > >> > Please read the thread next time. The topic under discussion is
31 > >> > solutions to the problem of not being able to do exactly that.
32 > >>
33 > >> Then I suppose you can surely explain in a nutshell why can't init
34 > >> scripts simply do that?
35 > >
36 > > Because certain people with influence have rearranged the filesystem so
37 > > that programs within /usr are absolutely necessary for booting; they are
38 > > needed _before_ init has a chance to mount /usr. So either /usr has to
39 > > be in the root partition, or crazy kludges need to be used to mount /usr
40 > > before the kernel runs init.
41 >
42 > I surely don't know the udev architecture well enough, but if this is
43 > all done by the udev daemon, can't we just "mount /usr" before the
44 > daemon is started? The only needed things should be mount (which is
45 > under /bin here) and /etc/fstab.
46 >
47
48 and a device node in /dev - like /dev/sda2. And how do you get that one
49 without udev?
50
51 oops?
52
53 --
54 #163933

Replies

Subject Author
Re: [gentoo-user] Re: Anyone switched to eudev yet? Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] Re: Anyone switched to eudev yet? Michael Mol <mikemol@×××××.com>
Re: [gentoo-user] Re: Anyone switched to eudev yet? nunojsilva@ist.utl.pt (Nuno J. Silva)