#1976: Udev-108 ------------------------------------------+--------------------------------- Reporter: [EMAIL PROTECTED] | Owner: [email protected] Type: enhancement | Status: new Priority: normal | Milestone: 6.3 Component: Book | Version: SVN Severity: normal | Resolution: Keywords: | ------------------------------------------+--------------------------------- Comment (by Bryan Kadzban):
The changelog (http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=blob;hb=HEAD;f=ChangeLog -- if you get an XML well-formed-ness error from that URL, refresh the page once or twice) mentions one thing that will affect us. The write_cd_rules script was changed to use by-id by default for USB and Firewire CD drives, instead of by-path. One possible issue is that this is based on $ID_BUS; that value is only set by usb_id (sets it to usb), ata_id (sets it to ata), and scsi_id (sets it to scsi). I don't see anything that sets it to "ieee1394", which is one value that the script looks for. The other issue is that I'm not sure that usb_id / ata_id / scsi_id are run before write_cd_rules. I'll have to look into it more closely. Anyway, the current book (in section 7.12) says the default is by-path, and the user should override it if they want by-id (by running a sed on the rules file that adds "by-id" to the write_cd_rules arguments). To make it work with -108, we probably need to send the user to one of two subsections depending on what kind of CD drive they have; if it's USB or Firewire, tell them the default is by-id and if they want by-path (not recommended), they should add that to the rule. Otherwise, if the device isn't USB or Firewire, then tell them the default is by-path and if they want by-id, add that to the rule. -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1976#comment:3> LFS Trac <http://wiki.linuxfromscratch.org/lfs/> Linux From Scratch: Your Distro, Your Rules. -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
