From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Subject: lsscsi-0.03
Date: Wed, 08 Jan 2003 22:46:14 +1100 [thread overview]
Message-ID: <3E1C0F86.5000109@torque.net> (raw)
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
reply other threads:[~2003-01-08 11:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E1C0F86.5000109@torque.net \
--to=dougg@torque.net \
--cc=linux-scsi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.