wok annotate 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 |
rev | line source |
---|---|
Hans-G?nter@24865 | 1 The lsscsi command lists information about SCSI devices in Linux. |
Hans-G?nter@24865 | 2 Using SCSI terminology, lsscsi lists SCSI logical units |
Hans-G?nter@24865 | 3 (or SCSI targets when the '--transport' option is given). |
Hans-G?nter@24865 | 4 The default action is to produce one line of output for each SCSI device |
Hans-G?nter@24865 | 5 currently attached to the system. |
Hans-G?nter@24865 | 6 In version 0.30 of this utility, support was added to list NVMe namespaces |
Hans-G?nter@24865 | 7 (under SCSI devices(LUs)) and NVMe controllers (under SCSI hosts). |
Hans-G?nter@24865 | 8 |
Hans-G?nter@24865 | 9 When the '--hosts' option is given the lsscsi command lists information |
Hans-G?nter@24865 | 10 about SCSI hosts attached to the system. |
Hans-G?nter@24865 | 11 A host can be actual hardware (sometimes referred to as Host Bus Adapters |
Hans-G?nter@24865 | 12 (HBAs)) or virtual. |
Hans-G?nter@24865 | 13 An example of a virtual host is USB mass storage that bridges between USB |
Hans-G?nter@24865 | 14 and the SCSI subsystem. In SCSI parlance, a host is referred to as an |
Hans-G?nter@24865 | 15 SCSI initiator. |
Hans-G?nter@24865 | 16 |
Hans-G?nter@24865 | 17 The lsscsi command scans the sysfs pseudo file system that was introduced |
Hans-G?nter@24865 | 18 in the 2.6 Linux kernel series. |
Hans-G?nter@24865 | 19 Since most users have permissions to read sysfs (usually mounted at /sys ) |
Hans-G?nter@24865 | 20 then meta information can be found on some or all SCSI devices without a |
Hans-G?nter@24865 | 21 user needing elevated permissions to access special files (e.g. /dev/sda ). |
Hans-G?nter@24865 | 22 The lsscsi command can also show the relationship between a device's |
Hans-G?nter@24865 | 23 primary node name, its SCSI generic (sg) node name and its kernel name. |
Hans-G?nter@24865 | 24 |
Hans-G?nter@24865 | 25 The lsscsi command works in the 2.6, 3, 4 and 5 Linux kernel series. |