Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3
Date: Tue, 03 Jan 2012 10:23:44
Message-Id: CAA2qdGVZQdSLiPXwCiXxXAvMacwihqDjZ-wwL55V9dRVNnq+rA@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3 by Walter Dnes
1 On Tue, Jan 3, 2012 at 17:04, Walter Dnes <waltdnes@××××××××.org> wrote:
2 >  In the instructions here, I've set up a revised dev-manager ebuild in
3 > an overlay.  I've requested the changes to be incorporated into the
4 > official ebuild and it appears to have been accepted.  See...
5 >
6 > https://bugs.gentoo.org/show_bug.cgi?id=395319
7 >
8 > It should be rolled out eventually, and the overlay won't be necessary.
9 >
10
11 Cool! :D
12
13 >  I think I've found one item so far that requires udev.  My laptop's
14 > graphics chip needs a binary blob from radeon-ucode.  That binary blob,
15 > in turn, requires the presence of /usr/lib/libudev.so.0 which is a
16 > symlink to /usr/lib/libudev.so.0.9.3 (which is also required).  I can
17 >
18 > emerge udev
19 > move or copy the 2 files over to /root
20 > unmerge udev
21 > move or copy the 2 files from /root to /usr/lib/
22 >
23 > and it still works. Note that /usr/lib/ is a symlink to /usr/lib64 on my
24 > 64-bit gentoo.
25 >
26
27 Well it doesn't need udev itself, just libudev.
28
29 But if the binary blob is hard-coded to search for
30 /usr/lib/libudev.so.0{,.9.3}, that means /usr must exist at
31 boot-time...
32
33 ... or at least /usr/lib/libudev.so.0{,.9.3}
34
35 IMO, providing 1 file (+ 1 symlink) is still much better than having
36 to provide the *whole* /usr tree during boot-time.
37
38 Now, what's needed is to "catalog" (1) essential boot-time devs that
39 can't be handled by mdev, and (2) essential files that need to exist
40 under /usr during boot-time.
41
42 #1 should be interesting for busybox upstream, while #2 will be
43 necessary for those trying to wean themselves off udev :-)
44
45 We're one step closer to an udev-free Gentoo, yay!
46
47 (Come to think of it, has *any* distro ever attempted this...
48 'unconventional of going udev-free?)
49
50 Rgds,
51 --
52 FdS Pandu E Poluan
53 ~ IT Optimizer ~
54
55  • LOPSA Member #15248
56  • Blog : http://pepoluan.tumblr.com
57  • Linked-In : http://id.linkedin.com/in/pepoluan

Replies

Subject Author
[gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3 Nicolas Sebrecht <nsebrecht@×××××.fr>
Re: [gentoo-user] Re: Beta test Gentoo with mdev instead of udev; version 3 Walter Dnes <waltdnes@××××××××.org>