From: Douglas Gilbert <dougg@torque.net>
To: linux-scsi@vger.kernel.org
Subject: lsscsi-0-12 released
Date: Sun, 09 May 2004 11:57:03 +1000 [thread overview]
Message-ID: <409D8FEF.40000@torque.net> (raw)
lsscsi is a utility the uses sysfs in linux 2.6 series kernels
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) which is one line
per device and a "classic" format (like the output of
'cat /proc/scsi/scsi') are supported for SCSI devices:
$ lsscsi
[0:0:0:0] disk Linux scsi_debug 0004 /dev/sda
[1:0:6:0] tape SONY SDT-7000 0192 /dev/st0
$ lsscsi --classic
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Linux Model: scsi_debug Rev: 0004
Type: Direct-Access ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 06 Lun: 00
Vendor: SONY Model: SDT-7000 Rev: 0192
Type: Sequential-Access ANSI SCSI revision: 02
Version 0.12 is available at
http://www.torque.net/scsi/lsscsi.html
This version should match lk 2.6.6 assuming there are no major
changes between now and its release.
lsscsi does not currently use libsysfs. The last time I looked,
libsysfs sorts directory entries but does not give the user any
control over the sort order (lsscsi sort by tuples which have
numeric components).
Doug Gilbert
reply other threads:[~2004-05-09 2:08 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=409D8FEF.40000@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox