long
option format |
short
option format |
version added |
description |
--classic |
-c |
generate output similar to 'cat
/proc/scsi/scsi' |
|
--device |
-d |
show device node's major and
minor numbers |
|
--generic |
-g |
show scsi generic device node
name |
|
--help |
-h |
print usage message then exit |
|
--hosts |
-H |
rather than list SCSI devices
(logical units), list SCSI hosts instead |
|
--kname |
-k |
0.15 |
show kernel name (as found in
sysfs) instead of device node name (as found in the /dev directory) |
--list |
-L |
0.19 |
show
<attribute>=<value> pairs, one per line, indented by two
or more spaces |
--long |
-l |
show
<attribute>=<value> pairs, several to a line. can be used
multiple times for more output and different format. |
|
--protection |
-p |
0.22 |
show protection information
(T10-DIF). |
--sysfsroot=PATH |
-y |
0.23 |
Uses PATH as sysfs mount point
(default sysfs mount point is '/sys') |
--transport |
-t |
0.19 |
show transport information. If
'--hosts' not given then this will be for targets. If '--hosts' is
given then this will be for initiators (i.e. hosts). More information
shown when used with '--list'. |
--verbose |
-v |
increase verbosity of output.
May be used multiple times to further increase verbosity. |
|
--version |
-V |
print out the version and the
date of last code change then exits |
Here is a table of the versions of lsscsi available for the lk 2.6
series.
tarball |
binary rpm **+ deb |
source rpm ** |
notes |
lsscsi-0.11.tgz |
lsscsi-0.11-1.i386.rpm |
lsscsi-0.11-1.src.rpm |
suitable for lk 2.6.1 |
lsscsi-0.12.tgz |
lsscsi-0.12-1.i386.rpm |
lsscsi-0.12-1.src.rpm |
lk 2.6.6, add '-d' for device major+minor |
lsscsi-0.13.tgz | lk 2.6.7 add timeout value to
--long option |
||
lsscsi-0.14.tgz | lsscsi-0.14-1.i386.rpm | lsscsi-0.14-1.src.rpm | port to use
sysfsutils-1.2.0 or later |
lsscsi-0.15.tgz | lsscsi-0.15-1.i386.rpm | lsscsi-0.15-1.src.rpm | lk 2.6.12 with optional select
arguments and /dev scanning. Does not use libsysfs. |
lsscsi-0.16.tgz | lsscsi-0.16-1.i386.rpm | lsscsi-0.16-1.src.rpm | lk 2.6.14, fixes for osst and ch devices, debian build. Does not use libsysfs. |
lsscsi-0.17.tgz | lsscsi-0.17-1.i386.rpm | lsscsi-0.17-1.src.rpm | lk 2.6.16, kernel (sysfs) change
that first appeared in lk 2.6.16-rc1 requires this version to see block
devices |
lsscsi-0.18.tgz | lsscsi-0.18-1.i386.rpm | lsscsi-0.18-1.src.rpm | allow
for "generic" and "tape" symlinks to be dropped in sysfs. |
lsscsi-0.19.tgz 20070125 |
lsscsi-0.19-1.i386.rpm lsscsi_0.19-0.1_i386.deb |
lsscsi-0.19-1.src.rpm | add transport information,
'--list' option, fixes for lk 2.6.20 |
lsscsi-0.20.tgz 20080709 |
lsscsi-0.20-1.i386.rpm lsscsi_0.20-0.1_i386.deb |
lsscsi-0.20-1.src.rpm | for lk
2.6.26 when CONFIG_SYSFS_DEPRECATED_V2 not defined |
lsscsi-0.21.tgz 20080910 |
lsscsi-0.21-1.i386.rpm lsscsi_0.21-0.1_i386.deb |
lsscsi-0.21-1.src.rpm | more changes for lk 2.6.26 |
lsscsi-0.22.tgz 20081226 |
lsscsi-0.22-1.i386.rpm lsscsi_0.22-0.1_i386.deb |
lsscsi-0.22-1.src.rpm | show protection information with
'--protection' option, ATA, SATA and USB transport information |
lsscsi-0.23.tgz 20091203 |
lsscsi-0.23-1.i386.rpm lsscsi_0.23-0.1_i386.deb |
lsscsi-0.23-1.src.rpm | stop scanning /proc/mounts;
assume /sys unless overridden by '--sysfsroot=PATH' option |
Here is the most recent ChangeLog .
** Some browsers (e.g. firefox) may interpret a file with an extension of "rpm" as an audio file. In which case press the right button over the link and select "Save link as ..." to download the file.