| 1 |
Linux utility for listing SCSI devices. |
| 2 |
|
| 3 |
Changelog for released lsscsi-0.32 [20210505] [svn: r167] |
| 4 |
- improve NVMe device parsing (e.g. /dev/nvme0c1n2) |
| 5 |
- print nr_hw_queues when available for SCSI hosts |
| 6 |
- Remove blank line after NVMe device name with -HL |
| 7 |
- collect_disk_wwn_nodes: Fix WWN string copy |
| 8 |
- make WWN printing for NVMe more consistent with |
| 9 |
output from SCSI devices (e.g. with -u and -t) |
| 10 |
- logic to select best SCSI id (--scsi_id) to output |
| 11 |
- clean up warnings for gcc-10 |
| 12 |
- build with autoconf 2.70 |
| 13 |
|
| 14 |
Changelog for released lsscsi-0.31 [20200220] [svn: r160] |
| 15 |
- cleanup gcc-8 warnings, no cleanup needed for gcc-9 |
| 16 |
- fix issue where host managed ZBC devices don't |
| 17 |
output their size. [Fix also for RBC and CD/DVD.] |
| 18 |
- exclude NVMe listings when --classic given |
| 19 |
- fix hex counting issues |
| 20 |
- supply "-" for generic NVMe device one line output |
| 21 |
so 'lsscsi -gb' output is consistent |
| 22 |
|
| 23 |
Changelog for released lsscsi-0.30 [20180612] [svn: r154] |
| 24 |
- add support for NVMe devices and controllers |
| 25 |
- to build without: ./configure --disable-nvme-supp |
| 26 |
- deselect at runtime: lsscsi --no-nvme |
| 27 |
- deselect SCSI devices at runtime: lsscsi N |
| 28 |
- add --brief for tuple + device_name(s) only |
| 29 |
- add --pdt (-D) for device type in hex |
| 30 |
- extend --size (-s) so when given three times |
| 31 |
the size as a logical block count is output |
| 32 |
- add --sz-lbs (-S) that is equivalent to '-sss' |
| 33 |
when used twice adds comma then logical block size |
| 34 |
- '-w' now decodes 128 bit WWN without truncation |
| 35 |
- /dev/disk/by-id/wwn- is not guaranteed to be |
| 36 |
persistent (or stable); instead use |
| 37 |
/dev/disk/by-id/scsi- |
| 38 |
- '-t' on a FC host was not printing the comma |
| 39 |
separator resulting in garbled output, fix |
| 40 |
- debian: bump compat file contents from 7 to 10 |
| 41 |
|
| 42 |
Changelog for released lsscsi-0.29 [20160514] [svn: r137] |
| 43 |
- '-u' now decodes locally assigned UUIDs (spc5r08) |
| 44 |
- as last try use T10 Vendor ID for lu name |
| 45 |
- if no lu name found, print 'none' |
| 46 |
- change '-uuu' to output the full lu name followed |
| 47 |
by the normal fields (which were skipped before) |
| 48 |
- add 'U' option, same action as '-uuu' |
| 49 |
- '-UU' prefixes lu names with 'eui.', 'naa.', etc |
| 50 |
- if '-s' given twice, lu size is base 2 related |
| 51 |
- if very long [h:c:t:l] then append space |
| 52 |
- print_enclosure_device() for FCP may be useless, |
| 53 |
comment out while checking ... |
| 54 |
- with '-t' print 0x0000000000000000 for non-SAS |
| 55 |
device in SAS domain |
| 56 |
- autogen.sh: upgrade to 20091223 version |
| 57 |
- automake: upgrade to 1.15 (ubuntu 16.04) |
| 58 |
|
| 59 |
Changelog for released lsscsi-0.28 [20140930] [svn: r120] |
| 60 |
- fix handling of scsi_level 0 (no compliance) |
| 61 |
- add SRP transport identifier |
| 62 |
- add --unit option for LU identifier (>= lk 3.15) |
| 63 |
- add (S)ATA transport identifier (>= lk 3.15) |
| 64 |
- make USB transport ids more consistent |
| 65 |
- fix FC transport id missing comma |
| 66 |
- add pdt strings for security manager and zbc |
| 67 |
- upgrade automake to version 1.14.1 |
| 68 |
|
| 69 |
Changelog for released lsscsi-0.27 [20130508] [svn: r111] |
| 70 |
- rework buffer handling for systems with many disks |
| 71 |
- add --lunhex option for displaying LUNs in hex |
| 72 |
- accept LUNs from sysfs as large as a 64 bit unsigned |
| 73 |
decimal number (largest was signed 32 bit decimal) |
| 74 |
- accept LSSCSI_LUNHEX_OPT environment variable |
| 75 |
- add scsi_id option for /dev/disk/by-id/scsi* |
| 76 |
|
| 77 |
Changelog for released lsscsi-0.26 [20120131] [svn: r97] |
| 78 |
- add 'fcoe' transport indicator |
| 79 |
- add '--wwn' option, datamine /dev/disk/by-id/wwn* |
| 80 |
- move lsscsi.c into src directory |
| 81 |
|
| 82 |
Changelog for released lsscsi-0.25 [20110509] [svn: r92] |
| 83 |
- add sas_port and fc_remote_ports transport information |
| 84 |
- print enclosure_device entry |
| 85 |
- add '--size' option to show size of disks |
| 86 |
- add '--protmode' option to show protection information mode |
| 87 |
|
| 88 |
Changelog for released lsscsi-0.24 [20100612] [svn: r83] |
| 89 |
Version 0.24 2010/06/12 [svn: r83] |
| 90 |
- FC transport syntax changes (colon to slash) |
| 91 |
- add "(null)" to the currently accepted "<NULL>" as |
| 92 |
the string representation of NULL |
| 93 |
- add AM_MAINTAINER_MODE to configure.ac |
| 94 |
- scandir() library function has changed its signature |
| 95 |
in its 4th argument, use newer (non-void) variant |
| 96 |
|
| 97 |
<< Retrospectively changed "version" to "release" in this file >> |
| 98 |
Version 0.23 2009/12/01 [svn: r76] |
| 99 |
- remove /proc/mounts scan for sysfs mount point, assume |
| 100 |
/sys unless overridden by re-instated '--sysfsroot' option |
| 101 |
|
| 102 |
Version 0.22 2008/12/26 [svn: r71] |
| 103 |
- add protection information (see CREDITS file) |
| 104 |
- add USB transport type with USB device name |
| 105 |
- add ATA and SATA transport types (crude: by driver name) |
| 106 |
|
| 107 |
Version 0.21 2008/7/10 [svn: r64] |
| 108 |
- more sysfs scanning work needed for lk 2.6.26 |
| 109 |
|
| 110 |
Version 0.20 2008/7/9 [svn: r43] |
| 111 |
- Handle SCSI midlayer rework circa lk 2.6.25/26 |
| 112 |
- this fix needed if CONFIG_SYSFS_DEPRECATED_V2 is not |
| 113 |
defined in the kernel build (lk 2.6.26) |
| 114 |
- clean superfluous files from package |
| 115 |
|
| 116 |
Version 0.19 2007/1/25 [svn: r37] |
| 117 |
- add transport information (target + initiator) |
| 118 |
- start with FC, SAS, SPI, iSCSI and SBP |
| 119 |
- alter ISCSI for 2.6.20 changes |
| 120 |
- SAS fix for lk 2.6.20 (SYSFS_DEPRECATED=n) |
| 121 |
- enhance host name search when proc_name is "<NULL>" |
| 122 |
- implement filter option for '--hosts' |
| 123 |
- accept 'host<n>' as first item in filter to mean host <n> |
| 124 |
- output more host attributes when '-Hll' given |
| 125 |
- add '--list' (or '-L') option output attribute=value |
| 126 |
entries, one per line |
| 127 |
|
| 128 |
Version 0.18 2006/3/24 |
| 129 |
- cope with dropping of 'generic' symlink post lk 2.6.16 |
| 130 |
- anticipate the future removal of 'tape' symlink |
| 131 |
|
| 132 |
Version 0.17 2006/2/6 |
| 133 |
- fix disappearance of block device names in lk 2.6.16-rc1 |
| 134 |
|
| 135 |
Version 0.16 2005/12/30 |
| 136 |
- clean up peripheral device type naming |
| 137 |
- properly identify osst and changer devices |
| 138 |
- add debian build directory |
| 139 |
|
| 140 |
Version 0.15 2005/6/29 |
| 141 |
- option '-ll' gives more attributes and '-lll' gives attributes |
| 142 |
one per line |
| 143 |
- change reporting if device node: |
| 144 |
- use "match major+minor" with "/dev" directory (default) |
| 145 |
- use synthetic device node names when '--kname' given |
| 146 |
{this was the default in earlier versions} |
| 147 |
- add filtering, sync with lk 2.6.12 |
| 148 |
{e.g. 'lsscsi 1' lists all SCSI devices on host1} |
| 149 |
- convert to autotools |
| 150 |
- builds on version 0.13 (does not use libsysfs) |
| 151 |
{because dlist_sort_custom() does not have filter() callback} |
| 152 |
|
| 153 |
Version 0.14 2004/9/20 |
| 154 |
- version of 0.13 based on libsysfs-1.20 |
| 155 |
|
| 156 |
Version 0.13 2004/8/20 |
| 157 |
- add 'timeout' to long device option output |
| 158 |
- quiet (unless verbose) if no mid level (hence no SCSI devices or hosts) |
| 159 |
|
| 160 |
Version 0.12 2004/5/9 |
| 161 |
- rework for lk 2.6.6 |
| 162 |
- add proc_name for hosts |
| 163 |
- replace 'online' with 'state' for scsi devices |
| 164 |
- add '-d' option to output device node's major and minor numbers |
| 165 |
|
| 166 |
Version 0.11 2004/1/9 |
| 167 |
- rework for lk 2.6.1 |
| 168 |
- drop "--name" argument |
| 169 |
|
| 170 |
Version 0.10 2003/5/6 |
| 171 |
- adjust HBA listing (-H) for new struct scsi_host in lk 2.5.69++ |
| 172 |
|
| 173 |
Version 0.09 2003/4/4 |
| 174 |
- fix up sorting |
| 175 |
- add GPL + copyright notice |
| 176 |
|
| 177 |
Version 0.08 2003/3/2 |
| 178 |
- start to add host listing support (requires >= lk 2.5.63) |
| 179 |
|
| 180 |
Version 0.07 2003/2/10 |
| 181 |
- sysfs changes name of current_queue_depth in lk 2.5.60 |
| 182 |
|
| 183 |
Version 0.06 2003/1/20 |
| 184 |
- fixes of osst devices |
| 185 |
- use "cd" rather than "CDROM" for short peripheral type name |
| 186 |
|
| 187 |
Version 0.05 2003/1/19 |
| 188 |
- output st and osst device names (rather than "-") |
| 189 |
- support --generic and --classic together |
| 190 |
- output type (SCSI peripheral type) with --long |
| 191 |
|
| 192 |
Version 0.04 2003/1/14 |
| 193 |
- make sure a st device list only once (needed for lk 2.5.57) |
| 194 |
|
| 195 |
Version 0.03 2003/1/9 |
| 196 |
- fix Makefile to create man page directory on install |
| 197 |
- add logic for scsi_level output |
| 198 |
- add --generic (-g) switch to output scsi generic device file name |
| 199 |
|
| 200 |
Version 0.02 2002/12/18 |
| 201 |
- first entry in CHANGELOG |