summaryrefslogtreecommitdiffstats
path: root/dmraid.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-12-07 15:15:22 -0500
committerBill Nottingham <notting@redhat.com>2007-12-07 15:15:22 -0500
commit04ce4bec9e759d81c3cb8029a6db056888ccd5a5 (patch)
treeaf821d2215481c9f92a86404ac8b63164e5c3585 /dmraid.py
parent29769be5a33e3d370b5239de2bbe989702131d83 (diff)
downloadanaconda-04ce4bec9e759d81c3cb8029a6db056888ccd5a5.tar.gz
anaconda-04ce4bec9e759d81c3cb8029a6db056888ccd5a5.tar.xz
anaconda-04ce4bec9e759d81c3cb8029a6db056888ccd5a5.zip
Fix up device names when probing.
Diffstat (limited to 'dmraid.py')
-rw-r--r--dmraid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmraid.py b/dmraid.py
index 95cc6b2e4..6f7f6bd98 100644
--- a/dmraid.py
+++ b/dmraid.py
@@ -122,7 +122,7 @@ def scanForRaid(drives, degradedOk=False):
probeDrives = []
for d in drives:
- probeDrives.append(d)
+ probeDrives.append("/dev/%s" % (d,))
dmsets = []
def nonDegraded(rs):
@@ -236,7 +236,7 @@ def scanForMPath(drives):
probeDrives = []
for d in drives:
- probeDrives.append(d)
+ probeDrives.append("/dev/%s" % (d,))
import block as _block
oldPath = _block.getBdevidPath()