[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 5/5] Display ID_PATH for zFCP devices instead of looking for a WWID.



---
 iw/filter_gui.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/filter_gui.py b/iw/filter_gui.py
index c259802..67c6427 100644
--- a/iw/filter_gui.py
+++ b/iw/filter_gui.py
@@ -634,10 +634,10 @@ class FilterWindow(InstallWindow):
             if d["XXX_SIZE"] == 0:
                 continue
 
-            # This isn't so great, but iSCSi and DASD devices have an ID_PATH
+            # This isn't so great, but iSCSI and s390 devices have an ID_PATH
             # that contains a lot of useful identifying info, so that should be
             # displayed instead of a blank WWID.
-            if udev_device_is_iscsi(d) or udev_device_is_dasd(d):
+            if udev_device_is_iscsi(d) or udev_device_is_dasd(d) or udev_device_is_zfcp(d):
                 ident = udev_device_get_path(d)
             else:
                 ident = udev_device_get_wwid(d)
-- 
1.6.5.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]