lsscsi-0.08
lsscsi is a utility the uses sysfs in kernels >= lk 2.5.50 to list information about all SCSI devices (including devices that use the SCSI stack such as USB mass storage devices) and SCSI hosts. Both a compact format (default), one line per device, and a "classic" format (like the output of 'cat /proc/scsi/scsi') are supported for devices.
Version 0.08 is available at
http://www.torque.net/scsi/lsscsi.html
This version starts to add listing support for SCSI hosts (i.e. instances of scsi_host). This follows on from work by Christoph Hellwig to transfer procfs information provided by sg into sysfs in lk 2.5.63 .
The only hosts that I can currently get to appear are those created by the scsi_debug driver. So the appropriate magic that the scsi_debug driver does (supplied by Mike Anderson) either needs to be:
- placed in all LLDs,
- or placed in the mid level
Doug Gilbert