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 <waltd...@waltdnes.org>
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

Reply via email to