Has anyone dumped udev for devfs?

Thomas Zehetbauer thomasz at hostmaster.org
Sat Feb 5 12:06:29 UTC 2005


On Fri, 2005-02-04 at 23:11 -0500, Matthew Miller wrote:
> The applications should be updated to be better behaved.

How? The application was designed to open a serial port and wait for the
PalmOS device to connect. Later it happened to open a serial port that
is a device on USB. Now udev is expecting it to guess which device it
will create and wait for it to appear in /dev.

> How? The future of computing is *more* dynamic devices, not fewer. The only
> way to sensibly cope with this is by *managing* them as dynamic devices, not
> sitting down and trying to assign a name and number to thousands of things
> which haven't been invented yet.

Then the only sensible way to cope with this is to design a naming
scheme that fits everything and can be extended. Most of the node names
in /dev are as old as Un*x it self and even the newer were chosen to fit
into that scheme. USB support is steadily moving into libusb because
every device can be found by it's id and addressed by it's bus and
device number. The same should work for other peripherals too, let's
have a /dev/bus/(ide|scsi|sata|...)/$controller/$bus/$device/$lun

Tom

-- 
  T h o m a s   Z e h e t b a u e r   ( TZ251 )
  PGP encrypted mail preferred - KeyID 96FFCB89
      finger thomasz at hostmaster.org for key

Nirvana: Zustand des Gluecks durch Ausloeschung des Selbst.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050205/ec0e7f87/attachment-0002.bin 


More information about the users mailing list