Udev issues in today's coming rawhide

Arjan van de Ven arjan at fenrus.demon.nl
Thu Mar 2 14:39:21 UTC 2006


On Thu, 2006-03-02 at 10:24 -0400, John DeDourek wrote:
> 
> Harald Hoyer wrote:
> > Olivier Galibert wrote:
> > 
> >> On Wed, Mar 01, 2006 at 11:55:02PM -0800, Jesse Keating wrote:
> >>
> >>> We're attempting to fix a problem in udev where /dev/cdrom creation is a
> >>> race between multiple optical devices in a system.  To work around this
> >>> we will enumerate the devices as /dev/cdrom-hdc or /dev/cdrom-hdb.
> >>> However for compatibility reasons, we'll still create a /dev/cdrom, and
> >>> the last device found wins the race.
> >>
> >>
> >>
> >> And no /dev/cdrom1, etc.  Compatibility is for the weak, I presume?
> > 
> > 
> > enumeration is not possible anymore... we should now have 
> > /dev/cdrom-{devname}
> > 
> Hmmm.  To quote "Greg Kroah-Hartman", from the paper "udev -- A
> Userspace Imlementation of devfs", Proceeedings of the Linux Symosium,
> July 23th-26th, 2003, Ottawa, Ontario, Canada:
> "This paper will discuss udev, a program ... allows for features
> that were previously not able to be done through devfs alone, such
> as:  Persistent naming for devices when they move around the
> device tree."


agreed. calling them "hda" is really really bad, it makes them bus
dependant again

better would be to use UUID's, or at least vendor identification strings
etc from the device. We need to NOT tie these device names to underlying
accidental device numbers. That is a major major step back.




More information about the fedora-devel-list mailing list