Name: lsscsi Version: 0.32 Release: 1mamba Summary: The lsscsi command lists information about SCSI devices in Linux Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://sg.danny.cz/scsi/lsscsi.html Source: https://github.com/doug-gilbert/lsscsi.git/r%{version}/lsscsi-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END %description The lsscsi command lists information about SCSI devices in Linux. Using SCSI terminology, lsscsi lists SCSI logical units (or SCSI targets when the '--transport' option is given). The default action is to produce one line of output for each SCSI device currently attached to the system. In version 0.30 of this utility, support was added to list NVMe namespaces (under SCSI devices(LUs)) and NVMe controllers (under SCSI hosts). When the '--hosts' option is given the lsscsi command lists information about SCSI hosts attached to the system. A host can be actual hardware (sometimes referred to as Host Bus Adapters (HBAs)) or virtual. An example of a virtual host is USB mass storage that bridges between USB and the SCSI subsystem. In SCSI parlance, a host is referred to as an SCSI initiator. The lsscsi command scans the sysfs pseudo file system that was introduced in the 2.6 Linux kernel series. Since most users have permissions to read sysfs (usually mounted at /sys ) then meta information can be found on some or all SCSI devices without a user needing elevated permissions to access special files (e.g. /dev/sda ). The lsscsi command can also show the relationship between a device's primary node name, its SCSI generic (sg) node name and its kernel name. %debug_package %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/lsscsi %{_mandir}/man8/lsscsi.8* %doc AUTHORS COPYING CREDITS %changelog * Sun May 09 2021 Silvan Calarco 0.32-1mamba - package created using the webbuild interface