[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-desktop
Subject:    [gentoo-desktop] Re: Re: Kernel_2.6/devfsd/SCSI/USB/Digital Camera problem
From:       Duncan <1i5t5.duncan () cox ! net>
Date:       2004-10-19 9:06:01
Message-ID: pan.2004.10.19.09.06.00.767767 () cox ! net
[Download RAW message or body]

Lindsay Haisley posted <20041017184036.GH6508@fmp.com>, 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." --
Benjamin Franklin



--
gentoo-desktop@gentoo.org mailing list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic