Gentoo Archives: gentoo-user

From: Alan Mackenzie <acm@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev + /usr
Date: Tue, 13 Sep 2011 14:46:40
Message-Id: 20110913144036.GC3081@acm.acm
In Reply to: Re: [gentoo-user] udev + /usr by Michael Schreckenbauer
1 On Mon, Sep 12, 2011 at 07:50:13PM +0200, Michael Schreckenbauer wrote:
2 > Hi Alan,
3
4 > On Monday, 12. September 2011 17:17:37 Alan Mackenzie wrote:
5 > > Hi, Michael.
6
7 > > On Mon, Sep 12, 2011 at 05:33:34PM +0200, Michael Schreckenbauer wrote:
8 > > > Hi Alan,
9
10 > > Well, I'm a hacker. udev is free source, therefore fair game. I don't
11 > > intend to put up with this nonsense without a fight. As far as I can
12 > > make out, this is just one guy, Kay Sievers, who's on a power trip. Are
13 > > there any indications at all that he actually talked to anybody in the
14 > > wide world before making such a far reaching decision?
15 > > On my current system, udev (164-r2) works without an earlily loaded /usr.
16 > > Seemingly, later versions don't. That was why I was asking for somebody
17 > > to identify one of these later versions for me.
18
19 > it works for you, because your udev-rules need nothing from /usr/*
20 > It's *not* udev requiring /usr, it's the scripts triggered by the rules.
21
22 Ah. OK. Maybe I've misunderstood the whole thing. Could it be that
23 there's no explicit requirement for early mounting of /usr, providing one
24 has the discipline to keep everything needed for booting in the /
25 partition?
26
27 > > > Fixing udev to continue working with separate /usr is far from trivial
28 > > > imo. Changing some paths is not the way to go for sure.
29
30 > > Maybe, maybe not.
31
32 > No, I wrote "for sure", because I *know* this.
33
34 Sorry about that.
35
36 > > > First of all, udev has to distinguish between "device not present" and
37 > > > "script error of some kind". Failing scripts have to be queued somehow
38 > > > for later execution. If a script keeps failing, it has to be removed
39 > > > from that queue, with a message to syslog or something like that. If
40 > > > udev needs a script in /usr/* to mount /usr then there's a
41 > > > chicken-egg-problem, which could be hard to solve (if possible at all
42 > > > without moving things from /usr/ to /). Note, that I am wild guessing
43 > > > here, I did not study the udev sources or any related script/rule :)
44
45 > Best,
46 > Michael
47
48 --
49 Alan Mackenzie (Nuremberg, Germany).

Replies

Subject Author
Re: [gentoo-user] udev + /usr Michael Schreckenbauer <grimlog@×××.de>
Re: [gentoo-user] udev + /usr Mike Edenfield <kutulu@××××××.org>