wok-current rev 24865
updated lsscsi (0.31 -> 0.32)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 30 06:29:17 2022 +0100 (2022-03-30) |
parents | 3c68bcd9c4a4 |
children | c9ed77869d08 |
files | lsscsi/description.txt lsscsi/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lsscsi/description.txt Wed Mar 30 06:29:17 2022 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +The lsscsi command lists information about SCSI devices in Linux. 1.5 +Using SCSI terminology, lsscsi lists SCSI logical units 1.6 +(or SCSI targets when the '--transport' option is given). 1.7 +The default action is to produce one line of output for each SCSI device 1.8 +currently attached to the system. 1.9 +In version 0.30 of this utility, support was added to list NVMe namespaces 1.10 +(under SCSI devices(LUs)) and NVMe controllers (under SCSI hosts). 1.11 + 1.12 +When the '--hosts' option is given the lsscsi command lists information 1.13 +about SCSI hosts attached to the system. 1.14 +A host can be actual hardware (sometimes referred to as Host Bus Adapters 1.15 +(HBAs)) or virtual. 1.16 +An example of a virtual host is USB mass storage that bridges between USB 1.17 +and the SCSI subsystem. In SCSI parlance, a host is referred to as an 1.18 +SCSI initiator. 1.19 + 1.20 +The lsscsi command scans the sysfs pseudo file system that was introduced 1.21 +in the 2.6 Linux kernel series. 1.22 +Since most users have permissions to read sysfs (usually mounted at /sys ) 1.23 +then meta information can be found on some or all SCSI devices without a 1.24 +user needing elevated permissions to access special files (e.g. /dev/sda ). 1.25 +The lsscsi command can also show the relationship between a device's 1.26 +primary node name, its SCSI generic (sg) node name and its kernel name. 1.27 + 1.28 +The lsscsi command works in the 2.6, 3, 4 and 5 Linux kernel series.
2.1 --- a/lsscsi/receipt Wed Mar 30 06:22:51 2022 +0100 2.2 +++ b/lsscsi/receipt Wed Mar 30 06:29:17 2022 +0100 2.3 @@ -1,15 +1,15 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="lsscsi" 2.7 -VERSION="0.31" 2.8 +VERSION="0.32" 2.9 CATEGORY="system-tools" 2.10 SHORT_DESC="Lists information about SCSI devices." 2.11 MAINTAINER="erjo@slitaz.org" 2.12 LICENSE="GPL2" 2.13 -WEB_SITE="http://sg.danny.cz/scsi/lsscsi.html" 2.14 +WEB_SITE="https://sg.danny.cz/scsi/lsscsi.html" 2.15 2.16 TARBALL="$PACKAGE-$VERSION.tgz" 2.17 -WGET_URL="http://sg.danny.cz/scsi/$TARBALL" 2.18 +WGET_URL="https://sg.danny.cz/scsi/$TARBALL" 2.19 2.20 # What is the latest version available today? 2.21 current_version() 2.22 @@ -31,6 +31,5 @@ 2.23 # Rules to gen a SliTaz package suitable for Tazpkg. 2.24 genpkg_rules() 2.25 { 2.26 - mkdir -p $fs/usr 2.27 - cp -a $install/usr/bin $fs/usr 2.28 + cook_copy_folders bin 2.29 }