diff options
author | Chris Lumens <clumens@redhat.com> | 2009-12-22 10:42:06 -0500 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2010-02-03 16:07:45 -0500 |
commit | 54296bbc1e5597764ad7fc48b68e23612e4212d8 (patch) | |
tree | a9b5775e2f85b55cf440a6f2076495d05c46d007 | |
parent | 39a78c83e8d675c6e6a1de2af73ccff6acf88aa7 (diff) | |
download | anaconda-54296bbc1e5597764ad7fc48b68e23612e4212d8.tar.gz anaconda-54296bbc1e5597764ad7fc48b68e23612e4212d8.tar.xz anaconda-54296bbc1e5597764ad7fc48b68e23612e4212d8.zip |
Display ID_PATH instead of WWID for DASDs as well.
-rw-r--r-- | iw/filter_gui.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/iw/filter_gui.py b/iw/filter_gui.py index 5f3e3a633..3dda8f6eb 100644 --- a/iw/filter_gui.py +++ b/iw/filter_gui.py @@ -618,9 +618,10 @@ class FilterWindow(InstallWindow): if d["XXX_SIZE"] == 0: continue - # 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): + # This isn't so great, but iSCSi and DASD 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): ident = udev_device_get_path(d) else: ident = udev_device_get_wwid(d) |