Detecting firewire disks
I'd like to detect whether a SCSI disk is really a firewire disk and create some udev links. Where should I look for such information? For USB flash disks I looked at the sysfs vendor and model files, but for firewire disks these return the model of the actual disk, rather than the firewire interface.
Signature · 14 lines
Måns Rullgård [email protected] ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 3 lines · Måns Rullgård
I'd like to detect whether a SCSI disk is really a firewire disk and create some udev links. Where should I look for such information?
Follow the device link in sysfs. udev needs to be changed to be able to follow up the device tree to look at attributes in different bus types. Work on this will be forthcoming soon.
thanks,
greg k-h
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel