* lsscsi-0.03
@ 2003-01-08 11:46 Douglas Gilbert
0 siblings, 0 replies; only message in thread
From: Douglas Gilbert @ 2003-01-08 11:46 UTC (permalink / raw)
To: linux-scsi
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).
Both a compact format (default), one line per device, and
a "classic" format (like the output of 'cat /proc/scsi/scsi')
are supported.
A '-g' switch has been added in version 0.03 to show the
corresponding scsi generic device name:
$ lsscsi
[0:0:1:0] disk FUJITSU MAM3184MP 0105 /dev/sda
[2:0:0:0] CDROM CREATIVE CD5233E 1.00 /dev/sr0
$ lsscsi -g
[0:0:1:0] disk FUJITSU MAM3184MP 0105 /dev/sda /dev/sg0
[2:0:0:0] CDROM CREATIVE CD5233E 1.00 /dev/sr0 /dev/sg1
Patrick Mansfield's patch to output the scsi_level in
"classic" mode is also included. The scsi_level is also
output with the '-l' switch. [Until Patrick's kernel
patch for sysfs to output scsi_level gets into the kernel,
the ANSI SCSI revision will appear as "?".]
See http://www.torque.net/scsi/lsscsi.html for more information
and downloads.
Doug Gilbert
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-08 11:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-08 11:46 lsscsi-0.03 Douglas Gilbert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox