summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-10-25 21:20:37 +0000
committerJeremy Katz <katzj@redhat.com>2002-10-25 21:20:37 +0000
commit865b232e0902967c51ff9a5c79ad1e1a928760b4 (patch)
treee80bf8f3499ef371eb765b98d3de6ebe44efdd56
parent18fb1bc9949dfe9fbb67db3aa103118ec1ea864f (diff)
downloadanaconda-865b232e0902967c51ff9a5c79ad1e1a928760b4.tar.gz
anaconda-865b232e0902967c51ff9a5c79ad1e1a928760b4.tar.xz
anaconda-865b232e0902967c51ff9a5c79ad1e1a928760b4.zip
make device nodes for all raid devices also (#71908)
-rw-r--r--iutil.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/iutil.py b/iutil.py
index 31507e45e..9d625175e 100644
--- a/iutil.py
+++ b/iutil.py
@@ -415,6 +415,11 @@ def makeDriveDeviceNodes():
cdroms = isys.cdromList()
for drive in cdroms:
isys.makeDevInode(drive, "/dev/%s" % (drive,))
+
+ mdlist = raid.scanForRaid(hardDrives)
+ for mdMinor, devices, level, numdisks in mdlist:
+ md = "md%d" %(mdMinor,)
+ isys.makeDevInode(md, "/dev/%s" %(md,))
def needsEnterpriseKernel():
rc = 0