1 |
slords |
1.1 |
diff -up booty-0.80.4/bootloaderInfo.py.multipath booty-0.80.4/bootloaderInfo.py |
2 |
|
|
--- booty-0.80.4/bootloaderInfo.py.multipath 2007-01-04 13:22:52.000000000 -0500 |
3 |
|
|
+++ booty-0.80.4/bootloaderInfo.py 2007-08-14 11:54:47.000000000 -0400 |
4 |
|
|
@@ -2058,7 +2058,7 @@ def getRootDevName(initrd, fsset, rootDe |
5 |
|
|
|
6 |
|
|
try: |
7 |
|
|
rootEntry = fsset.getEntryByMountPoint("/") |
8 |
|
|
- if rootEntry.getLabel() is not None: |
9 |
|
|
+ if rootEntry.getLabel() is not None and rootEntry.device.getDevice().find('/mpath') == -1: |
10 |
|
|
return "LABEL=%s" %(rootEntry.getLabel(),) |
11 |
|
|
return "/dev/%s" %(rootDev,) |
12 |
|
|
except: |