Sync from SUSE:ALP:Source:Standard:1.0 lsscsi revision b92a8a9930bdf06b5ca91dc38634a9bf

This commit is contained in:
Adrian Schröter 2023-06-07 08:10:21 +02:00
commit dc89b70951
4 changed files with 241 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
lsscsi-0.32.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

167
lsscsi.changes Normal file
View File

@ -0,0 +1,167 @@
-------------------------------------------------------------------
Mon Aug 29 10:19:51 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.32
* improve NVMe device parsing (e.g. /dev/nvme0c1n2)
* print nr_hw_queues when available for SCSI hosts
* make WWN printing for NVMe more consistent with
output from SCSI devices (e.g. with -u and -t)
* logic to select best SCSI id (--scsi_id) to output
* fix issue where host managed ZBC devices don't
output their size. [Fix also for RBC and CD/DVD.]
* exclude NVMe listings when --classic given
* supply "-" for generic NVMe device one line output
so 'lsscsi -gb' output is consistent
-------------------------------------------------------------------
Thu Aug 2 12:42:31 UTC 2018 - mpluskal@suse.com
- Update to version 0.30:
* add support for NVMe devices and controllers
- to build without: ./configure --disable-nvme-supp
- deselect at runtime: lsscsi --no-nvme
- deselect SCSI devices at runtime: lsscsi N
* add --brief for tuple + device_name(s) only
* add --pdt (-D) for device type in hex
* extend --size (-s) so when given three times
the size as a logical block count is output
* add --sz-lbs (-S) that is equivalent to '-sss'
when used twice adds comma then logical block size
* '-w' now decodes 128 bit WWN without truncation
* /dev/disk/by-id/wwn- is not guaranteed to be
persistent (or stable); instead use
/dev/disk/by-id/scsi-
* '-t' on a FC host was not printing the comma
separator resulting in garbled output, fix
- Small spec file modernisation with spec-cleaner
- Restore removed parts of changelog
-------------------------------------------------------------------
Mon Jul 10 09:47:21 CEST 2017 - hare@suse.de
- Lookup WWN using /dev/disk/by-id/scsi-* (bsc#1008935)
- fixup display of 'lsscsi -t' (bsc#1047884)
-------------------------------------------------------------------
Wed May 25 11:39:32 CEST 2016 - ro@suse.de
- Update to new upstream release 0.29 (bsc#977572)
- '-u' now decodes locally assigned UUIDs (spc5r08)
- as last try use T10 Vendor ID for lu name
- if no lu name found, print 'none'
- change '-uuu' to output the full lu name followed
by the normal fields (which were skipped before)
- add 'U' option, same action as '-uuu'
- '-UU' prefixes lu names with 'eui.', 'naa.', etc
- if '-s' given twice, lu size is base 2 related
- if very long [h:c:t:l] then append space
- print_enclosure_device() for FCP may be useless,
comment out while checking ...
- with '-t' print 0x0000000000000000 for non-SAS
device in SAS domain
- autogen.sh: upgrade to 20091223 version
- automake: upgrade to 1.15 (ubuntu 16.04)
* Delete lsscsi-0.27.tar.xz
* Add lsscsi-0.29.tar.xz
- Update to new upstream release 0.28
- fix handling of scsi_level 0 (no compliance)
- add SRP transport identifier
- add --unit option for LU identifier (>= lk 3.15)
- add (S)ATA transport identifier (>= lk 3.15)
- make USB transport ids more consistent
- fix FC transport id missing comma
- add pdt strings for security manager and zbc
- upgrade automake to version 1.14.1
- Remove patches merged with upstream
* Delete lsscsi-fixup-fc-transport-id.patch
* Delete lsscsi-usb.diff
* Delete lsscsi-fix-classic-output
--------------------------------------------------------------------
Tue Feb 24 21:24:01 UTC 2015 - mpluskal@suse.com
- Update to 0.28
* fix handling of scsi_level 0 (no compliance)
* add SRP transport identifier
* add --unit option for LU identifier (>= lk 3.15)
* add (S)ATA transport identifier (>= lk 3.15)
* make USB transport ids more consistent
* fix FC transport id missing comma
* add pdt strings for security manager and zbc
* upgrade automake to version 1.14.1
- Do not install empty NEWS
-------------------------------------------------------------------
Wed Jan 22 15:37:49 CET 2014 - hare@suse.de
- Port patches from SP3 (bnc#831301)
- Fixup printing of FC transport IDs
-------------------------------------------------------------------
Thu Jun 13 14:06:53 UTC 2013 - jengelh@inai.de
- Update to new upstream release 0.24
* FC transport syntax changes (colon to slash)
- Update to new upstream release 0.25
* add sas_port and fc_remote_ports transport information
* print enclosure_device entry
* add a "--size" option to show size of disks
* add a "--protmode" option to show protection information mode
- Update to new upstream release 0.26
* add a "fcoe" transport indicator
* add a "--wwn" option and datamine /dev/disk/by-id/wwn*
- Update to new upstream release 0.27
* Accept large (64-bit) LUNs
* add a "--lunhex" option and recognition of LSSCSI_LUNHEX_OPT
environment variable for displaying LUNs in hex
- Normalized build/install procedure;
remove redundant %clean section
-------------------------------------------------------------------
Tue Apr 16 11:34:56 UTC 2013 - mmeister@suse.com
- Added url as source.
Please see http://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Mon Feb 22 16:13:35 CET 2010 - hare@suse.de
- Fix classic output (bnc#576138)
-------------------------------------------------------------------
Mon Dec 7 15:57:51 CET 2009 - jdelvare@suse.de
- Update to lsscsi-0.23:
* Show protection information with '--protection' option, ATA,
SATA and USB transport information.
* Stop scanning /proc/mounts; assume /sys unless overridden by
'--sysfsroot=PATH' option.
- This update fixes bnc#556180.
-------------------------------------------------------------------
Thu Nov 19 13:28:53 CET 2009 - garloff@suse.de
- lsscsi-usb.diff: Make print format with -t for usb: compatible
with other transport values.
-------------------------------------------------------------------
Fri Oct 31 10:25:27 CET 2008 - hare@suse.de
- Update sysfs patch to match latest sysfs changes (bnc#434823)
-------------------------------------------------------------------
Tue Aug 12 17:43:18 CEST 2008 - garloff@suse.de
- Update to lsscsi-0.21:
SysFS scanning changes imposed by kernel 2.6.25/26.
-------------------------------------------------------------------
Fri May 23 10:05:31 CEST 2008 - hare@suse.de
- using 'Provides' to clean update dependency.
-------------------------------------------------------------------
Thu Apr 24 13:40:00 CEST 2008 - hare@suse.de
- Split off from original scsi package.

48
lsscsi.spec Normal file
View File

@ -0,0 +1,48 @@
#
# spec file for package lsscsi
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: lsscsi
Version: 0.32
Release: 0
Summary: List all SCSI devices in the system
License: GPL-2.0-or-later
Group: Hardware/Other
URL: http://sg.danny.cz/scsi/lsscsi.html
Source: http://sg.danny.cz/scsi/%{name}-%{version}.tar.xz
BuildRequires: xz
Provides: scsi:%{_bindir}/lsscsi
%description
The lsscsi command lists information about SCSI devices in Linux.
%prep
%autosetup
%build
%configure
%install
%make_install
%files
%license COPYING
%doc README ChangeLog
%{_bindir}/lsscsi
%{_mandir}/man8/lsscsi.8%{?ext_man}
%changelog