]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsblk: add SCSI transport type attribute
authorMilan Broz <mbroz@redhat.com>
Fri, 19 Oct 2012 12:10:41 +0000 (14:10 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 23 Oct 2012 08:27:07 +0000 (10:27 +0200)
commita5fb4d23ebc8456869e548d7c899d57018abe571
tree023d43e4df3a11b6dd3a0ab42192a346b565d8de
parent699e5c4f96bb69b3462032386a90cc4f82b77dc9
lsblk: add SCSI transport type attribute

Patch adds "SCSI transport layer" similar attribute to "lsscsi -t".

This is useful for script where you want to distinguish e.g. FC, iSCSI
or USB devices from local disks.

Detection logic is quite simplified in comparison to lsscsi but it
should provide the same output (except detailed transport attributes).

Signed-off-by: Milan Broz <mbroz@redhat.com>
misc-utils/lsblk.c