public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Suggestion for getting rid of udev
@ 2011-10-12  4:40 Walter Dnes
  2011-10-12  5:05 ` Zac Medico
                   ` (6 more replies)
  0 siblings, 7 replies; 58+ messages in thread
From: Walter Dnes @ 2011-10-12  4:40 UTC (permalink / raw
  To: Gentoo Developers

[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]

Hi all

  Recently, there was a firestorm on the gentoo-user list over the idea
that udev would eventually require /usr to be on the same physical
parition as /, or else use initramfs, which is its own can of worms. I'm
not a programmer, let alone a developer.  Rather than merely ranting, I
went and searched for an alternative.

  Forking udev is probably not an option.  The udev lead developer is a
Redhat employee, and his direction seems to be to drag everybody in
Redhat's direction.  Our community doesn't have Redhat's billions.

  The other option is to drop udev entirely.  As an example, I suggest
looking at Alpine Linux http://alpinelinux.org/  It's a lightweight
server-oriented distro.  It uses busybox's mdev instead of udev, and
some other mdev substitutes in place of standard packages.  It uses
openrc.  Furthermore, "previous versions of Alpine were based on Gentoo"
as per http://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package so
there should be no problem with us borrowing back from Alpine.

  The only reason Alpine isn't usuable for regular users right now is
that it's built with uclibc, which will break closed-source binary blobs
(e.g. Flash and Acrobat and many video card drivers).  I'm not a
developer or programmer, so correct me if I'm wrong, but it shouldn't be
difficult to replace uclibc with the standard library, and build away.

  Another option is to take the current Gentoo setup, drop udev and
use mdev in the same manner as Alpine uses it.  In case anyone asks,
auto mounting should still be possible.  Attached is an excerpt from
/var/log/messages from a basic Alpine install.  The kernel messages were
generated when I inserted a USB key into a usb jack.

-- 
Walter Dnes <waltdnes@waltdnes.org>

[-- Attachment #2: usbkey.txt --]
[-- Type: text/plain, Size: 1645 bytes --]

Oct  9 13:46:00 e521 kern.info kernel: [10714.105621] usb 2-8: new high speed USB device using ehci_hcd and address 4
Oct  9 13:46:00 e521 kern.info kernel: [10714.241353] usb 2-8: New USB device found, idVendor=13fe, idProduct=1e00
Oct  9 13:46:00 e521 kern.info kernel: [10714.241357] usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct  9 13:46:00 e521 kern.info kernel: [10714.241360] usb 2-8: Product: Patriot Memory  
Oct  9 13:46:00 e521 kern.info kernel: [10714.241362] usb 2-8: Manufacturer:         
Oct  9 13:46:00 e521 kern.info kernel: [10714.241364] usb 2-8: SerialNumber: 078215A302CF
Oct  9 13:46:00 e521 kern.info kernel: [10714.244241] scsi4 : usb-storage 2-8:1.0
Oct  9 13:46:01 e521 kern.notice kernel: [10715.279753] scsi 4:0:0:0: Direct-Access              Patriot Memory   PMAP PQ: 0 ANSI: 0 CCS
Oct  9 13:46:02 e521 kern.notice kernel: [10715.930991] sd 4:0:0:0: [sdb] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
Oct  9 13:46:02 e521 kern.notice kernel: [10715.931980] sd 4:0:0:0: [sdb] Write Protect is off
Oct  9 13:46:02 e521 kern.debug kernel: [10715.931983] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
Oct  9 13:46:02 e521 kern.err kernel: [10715.931986] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Oct  9 13:46:02 e521 kern.err kernel: [10715.935986] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Oct  9 13:46:02 e521 kern.info kernel: [10715.981381]  sdb: sdb1
Oct  9 13:46:02 e521 kern.err kernel: [10715.986028] sd 4:0:0:0: [sdb] Assuming drive cache: write through
Oct  9 13:46:02 e521 kern.notice kernel: [10715.986035] sd 4:0:0:0: [sdb] Attached SCSI removable disk

^ permalink raw reply	[flat|nested] 58+ messages in thread

end of thread, other threads:[~2011-10-18 18:04 UTC | newest]

Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12  4:40 [gentoo-dev] Suggestion for getting rid of udev Walter Dnes
2011-10-12  5:05 ` Zac Medico
2011-10-12 13:10   ` Walter Dnes
2011-10-12  5:32 ` Nathan Phillip Brink
2011-10-12 13:09   ` Walter Dnes
2011-10-12 23:37     ` Nathan Phillip Brink
2011-10-12  7:05 ` Michał Górny
2011-10-12 13:09   ` Walter Dnes
2011-10-12 16:28     ` Canek Peláez Valdés
2011-10-12 17:25     ` Michał Górny
2011-10-12 17:30     ` Nirbheek Chauhan
2011-10-12 17:49       ` Ciaran McCreesh
2011-10-12 17:56         ` Rich Freeman
2011-10-13 15:14         ` Olivier Crête
2011-10-13 15:28           ` Rich Freeman
2011-10-13 16:30             ` Arun Raghavan
2011-10-13 17:02               ` Mike Frysinger
2011-10-13 18:34                 ` Samuli Suominen
2011-10-13 18:55                 ` Canek Peláez Valdés
2011-10-13 18:59                   ` Canek Peláez Valdés
2011-10-13 19:03                   ` Mike Frysinger
2011-10-13 17:05           ` Ciaran McCreesh
2011-10-15  8:42             ` Michael Schreckenbauer
2011-10-15  8:57               ` Wulf C. Krueger
2011-10-15  9:13                 ` Canek Peláez Valdés
2011-10-15  9:23                   ` Canek Peláez Valdés
2011-10-15 22:07                 ` Zac Medico
2011-10-16 12:52                   ` [gentoo-dev] supporting /usr on separate partition (was: Suggestion for getting rid of udev) Ian Stakenvicius
2011-10-16 18:44                     ` [gentoo-dev] supporting /usr on separate partition Zac Medico
2011-10-16 19:36                       ` Graham Murray
2011-10-16 19:40                         ` Michał Górny
2011-10-17 16:02                       ` Ian Stakenvicius
2011-10-17 17:24                         ` Zac Medico
2011-10-17 17:50                           ` Ian Stakenvicius
2011-10-17 17:55                             ` Samuli Suominen
2011-10-17 19:18                               ` Ian Stakenvicius
2011-10-17 20:01                             ` Sven Vermeulen
2011-10-17 20:31                               ` Zac Medico
2011-10-16 13:07                   ` [gentoo-dev] Suggestion for getting rid of udev Rich Freeman
2011-10-16 19:33                     ` Zac Medico
2011-10-17 20:59                       ` Joost Roeleveld
2011-10-18 18:03                         ` Zac Medico
2011-10-15  4:06           ` Walter Dnes
2011-10-15  7:29             ` Michał Górny
2011-10-15 17:13               ` Mike Frysinger
2011-10-15 20:45               ` Joost Roeleveld
2011-10-15  7:33         ` Michał Górny
2011-10-13 14:12     ` Thomas Kahle
2011-10-15  3:37       ` Walter Dnes
2011-10-15  3:47         ` Canek Peláez Valdés
2011-10-12  7:08 ` Markos Chandras
2011-10-12 13:26 ` Rich Freeman
2011-10-12 19:02   ` Mike Frysinger
2011-10-13  2:16   ` [gentoo-dev] " Duncan
2011-10-13  2:43     ` Rich Freeman
2011-10-13 15:17 ` [gentoo-dev] " Olivier Crête
2011-10-13 15:27   ` Mike Frysinger
2011-10-16 18:06 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox