wok view lsscsi/description.txt @ rev 25794

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