Lindsay Haisley posted <20041017184036.GH6508@...>, excerpted below,
on Sun, 17 Oct 2004 13:40:36 -0500:
> Thus spake Duncan on Sun, Oct 17, 2004 at 02:33:09AM CDT
>> One of the reference implementation examples uses scripting to look up
>> the info for a CD in a CDDB, and actually symlinks the artist and album
>> name as one of the available device names! Greg KH (one of the Gentoo
>> kernel devs, BTW as well as one of the up and coming mainline kernel
>> developers due to his UDEV work) said it was a "fun" script without a
>> lot of practical use, but that it /did/ illustrate the flexibility
>> available with udev!
> Wooo! Where can one find this implementation example script?
Try the OLS (Ottawa Linux Symposium) 2003 UDEV presentation paper by..
none other than our own.. Greg KH. I believe that's where I saw it.
(I discovered that paper in LWN.net coverage of OLS.)
For practical implementation examples a bit closer to home, check out the
SCSI and IDE UDEV configurations on any UDEV Gentoo system. They provide
some pretty strong and practical examples of several of the features the
paper talks about, including dynamic symlinking for multiple entries, and
calling an external program then using its output to provide device names,
in this case, to provide DEVFS compatibility, since that's what Gentoo had
standardized on. (Here, I ripped out that stuff for my IDE drives, and
only retained the traditional /dev/hdX entries. I had to change the
hdparm config a bit as it used the DEVFS entries and I used it, but that
wasn't a big deal either, since I already knew the UDEV basics from the
paper and following the Gentoo scripts wasn't difficult.)
Duncan - List replies preferred. No HTML msgs.
"They that can give up essential liberty to obtain a little
temporary safety, deserve neither liberty nor safety." --
email@example.com mailing list