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 > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-15-2010, 08:24 PM
Peter Jones
 
Default Multipath members should not be added to the ignored disk list.

We don't want multipath members ignored (yet), because we need
addUdevDevice() to act on them.
---
storage/devicetree.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 3c81b65..4df31bc 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -886,8 +886,10 @@ class DeviceTree(object):
if name in self._ignoredDisks:
return True

- if udev_device_is_disk(info) and not udev_device_is_md(info) and
- not udev_device_is_dm(info):
+ if udev_device_is_disk(info) and
+ not udev_device_is_md(info) and
+ not udev_device_is_dm(info) and
+ not udev_device_is_multipath_member(info):
if self.exclusiveDisks and name not in self.exclusiveDisks:
self.addIgnoredDisk(name)
return True
--
1.6.5.2

_______________________________________________
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 09:10 AM.

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