wok diff lsscsi/description.txt @ rev 25515
Update qemu website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 09:52:04 2023 +0000 (21 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lsscsi/description.txt Sun Feb 19 09:52:04 2023 +0000 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.