工具
- sg_utils
- Storage and SCSI tools
- https://github.com/hreinecke/sg3_utils
- https://sg.danny.cz/scsi/lsscsi.html
调试节点
-
/proc/scsi
-
/sys/class/scsi_host
-
/sys/class/scsi_device
-
/sys/class/scsi_disk
-
/sys/class/scsi_generic
其他
静态编译sg_utils
LDFLAGS=--static ./configure --prefix=`pwd`/install --disable-shared --enable-static
make
make install