Re: [PATCH 2/2] multipath gives us CCISS devices names with ! in them, but we expect /.

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

 



On 01/25/2010 10:17 PM, Chris Lumens wrote:
---
  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

Ack.

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

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux