#1972: udevtest semi-broken ---------------------------+------------------------------------------------ Reporter: Bryan Kadzban | Owner: [email protected] Type: task | Status: new Priority: normal | Milestone: Component: Book | Version: SVN Severity: normal | Keywords: ---------------------------+------------------------------------------------ Reference: http://marc.theaimsgroup.com/?l=linux-hotplug- devel&m=117344874927134&w=2
See the last few lines. I'm not sure if that means it won't be supported anymore, or whether it just means it's broken for a few cases. We only use udevtest in one place (and it works there, for now at least): http://www.linuxfromscratch.org/lfs/view/development/chapter07/symlinks.html It's an optional command to run, but I'm guessing people would get confused if udevtest ever starts printing wrong info. The linux-hotplug-devel message says there isn't really a replacement. All we want to do in this step, though, is get the user the output of each *_id program, and this may not be too hard to get if we have the user run them all manually. For reference, this is how you get the data out of each of the *_id tools: {{{ /lib/udev/cdrom_id --export /dev/hdX # note: the argument is a DEVPATH, not a node /lib/udev/path_id /block/hdX # only for IDE: /lib/udev/ata_id --export /dev/hdX # only for USB: DEVPATH=/block/sdX /lib/udev/usb_id -x # only for SCSI (USB, IDE-under-libata, SATA, or real SCSI): /lib/udev/scsi_id -g -x -s /block/sdX -d /dev/sdX # probably not applicable to CDs at all: /lib/udev/vol_id --export /dev/hdX /lib/udev/edd_id --export /dev/hdX }}} Thoughts? Other ideas? Or should I just ignore this until udevtest stops working for these devices? ;-) (Again: it does work, at least for now.) -- Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1972> 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
