+ # This isn't so great, but for iSCSI devices the path contains a lot
+ # of useful identifiying info that should be displayed.
+ if udev_device_is_iscsi(d):
+ id = udev_device_get_path(d)
+ else:
+ id = udev_device_get_wwid(d)
+
tuple = (d, True, False, udev_device_get_name(d),
partedDevice.model, str(d["XXX_SIZE"]) + " MB",
udev_device_get_vendor(d), udev_device_get_bus(d),
- udev_device_get_serial(d), udev_device_get_wwid(d),
- "", "", "", "")
+ udev_device_get_serial(d), id, "", "", "", "")
_addTuple(tuple)
for rs in block.getRaidSets():
--
1.6.5.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list