Skip to content

Commit

Permalink
[scsi] Capture udevadm information for tape devices
Browse files Browse the repository at this point in the history
Capture udevadm info for tape devices.

Related: #2463

Signed-off-by: Jose Castillo <[email protected]>
  • Loading branch information
jcastill committed Jan 12, 2024
1 parent 5f01d9f commit a4bb44c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sos/report/plugins/scsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def setup(self):

scsi_hosts = glob("/sys/class/scsi_host/*")
self.add_device_cmd("udevadm info -a %(dev)s", devices=scsi_hosts)
self.add_device_cmd("udevadm info -a %(dev)s", devices="tape")

self.add_device_cmd([
"sg_persist --in -k -d %(dev)s",
Expand Down

0 comments on commit a4bb44c

Please sign in to comment.