Gentoo Archives: gentoo-dev

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Developers <gentoo-dev@l.g.o>
Subject: [gentoo-dev] Suggestion for getting rid of udev
Date: Wed, 12 Oct 2011 04:41:12
Message-Id: 20111012044023.GA8203@waltdnes.org
1 Hi all
2
3 Recently, there was a firestorm on the gentoo-user list over the idea
4 that udev would eventually require /usr to be on the same physical
5 parition as /, or else use initramfs, which is its own can of worms. I'm
6 not a programmer, let alone a developer. Rather than merely ranting, I
7 went and searched for an alternative.
8
9 Forking udev is probably not an option. The udev lead developer is a
10 Redhat employee, and his direction seems to be to drag everybody in
11 Redhat's direction. Our community doesn't have Redhat's billions.
12
13 The other option is to drop udev entirely. As an example, I suggest
14 looking at Alpine Linux http://alpinelinux.org/ It's a lightweight
15 server-oriented distro. It uses busybox's mdev instead of udev, and
16 some other mdev substitutes in place of standard packages. It uses
17 openrc. Furthermore, "previous versions of Alpine were based on Gentoo"
18 as per http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package so
19 there should be no problem with us borrowing back from Alpine.
20
21 The only reason Alpine isn't usuable for regular users right now is
22 that it's built with uclibc, which will break closed-source binary blobs
23 (e.g. Flash and Acrobat and many video card drivers). I'm not a
24 developer or programmer, so correct me if I'm wrong, but it shouldn't be
25 difficult to replace uclibc with the standard library, and build away.
26
27 Another option is to take the current Gentoo setup, drop udev and
28 use mdev in the same manner as Alpine uses it. In case anyone asks,
29 auto mounting should still be possible. Attached is an excerpt from
30 /var/log/messages from a basic Alpine install. The kernel messages were
31 generated when I inserted a USB key into a usb jack.
32
33 --
34 Walter Dnes <waltdnes@××××××××.org>

Attachments

File name MIME type
usbkey.txt text/plain

Replies