lsscsi: collect transport information in lsscsi_transport
authorMichael Prokop <mika@grml.org>
Mon, 24 Sep 2012 09:57:05 +0000 (11:57 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 24 Sep 2012 09:59:36 +0000 (11:59 +0200)
commitab9a47b4e6c7cf48c796dd30cf1668fc0eab948e
tree3f6a90a04b985ef01c7b2b087a902162c2e7c7f1
parent211ace9d14bc263087f1e2b8a11b95229888954b
lsscsi: collect transport information in lsscsi_transport

Example output:

| # lsscsi  -t
| [0:0:0:0]    disk    iqn.2006-01.com.openfiler:tsn.a5dd60798cd3,t,0x1  /dev/sda
| [1:0:0:0]    disk    iqn.2006-01.com.openfiler:tsn.7c1eb1d587d9,t,0x1  /dev/sdb
| [...]

This is useful for getting the mapping between local block device
and iSCSI target names.
grml-hwinfo