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 > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 01-25-2010, 08:17 PM
Chris Lumens
 
Default multipath gives us CCISS devices names with ! in them, but we expect /.

---
storage/devicelibs/mpath.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devicelibs/mpath.py b/storage/devicelibs/mpath.py
index f9fdda1..b6d46e1 100644
--- a/storage/devicelibs/mpath.py
+++ b/storage/devicelibs/mpath.py
@@ -43,7 +43,7 @@ def parseMultipathOutput(output):
elif lexemes[0] == '`-+-':
pass
elif lexemes[0] in ['|-','`-']:
- devices.append(lexemes[2])
+ devices.append(lexemes[2].replace('!', '/'))

if name and devices:
mpaths[name] = devices
--
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 11:35 AM.

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