FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 02-03-2010, 06:36 PM
Chris Lumens
 
Default Display ID_PATH instead of WWID for DASDs as well.

---
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 5f3e3a6..3dda8f6 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)
--
1.6.5.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org