diff options
-rw-r--r-- | sos/plugins/scsi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/scsi.py b/sos/plugins/scsi.py index 18454e21..7b34b6a0 100644 --- a/sos/plugins/scsi.py +++ b/sos/plugins/scsi.py @@ -32,6 +32,7 @@ class Scsi(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin): self.add_cmd_output("sg_map -x") scsi_hosts = glob("/sys/class/scsi_host/*") - self.add_udev_info(scsi_hosts, attrs=True) + self.add_blockdev_cmd("udevadm info -a %(dev)s", devices=scsi_hosts, + prepend_path='/sys/class/scsi_host') # vim: set et ts=4 sw=4 : |