summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-09-23 23:09:17 +0000
committerJeremy Katz <katzj@redhat.com>2004-09-23 23:09:17 +0000
commit2474183a0f8f1e47745821ef00c35c2883f5709f (patch)
treee219914f1b99359a9b4498dad7331ae807c5ad03 /iutil.py
parent36f48277936c46f1c96bb72e622b4d2920866999 (diff)
downloadanaconda-2474183a0f8f1e47745821ef00c35c2883f5709f.tar.gz
anaconda-2474183a0f8f1e47745821ef00c35c2883f5709f.tar.xz
anaconda-2474183a0f8f1e47745821ef00c35c2883f5709f.zip
2004-09-23 Jeremy Katz <katzj@redhat.com>
* iutil.py (makeDriveDeviceNodes): Create more RAID devices. (makeDriveDeviceNodes): i2o devices don't use a "p" separator (#133379)
Diffstat (limited to 'iutil.py')
-rw-r--r--iutil.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/iutil.py b/iutil.py
index cd89efcef..1aab78269 100644
--- a/iutil.py
+++ b/iutil.py
@@ -464,7 +464,7 @@ def makeDriveDeviceNodes():
num = 15
if (drive.startswith("cciss") or drive.startswith("ida") or
- drive.startswith("rd") or drive.startswith("i2o")):
+ drive.startswith("rd")):
sep = "p"
else:
sep = ""
@@ -477,8 +477,7 @@ def makeDriveDeviceNodes():
for drive in cdroms:
isys.makeDevInode(drive, "/dev/%s" % (drive,))
- mdlist = raid.scanForRaid(hardDrives)
- for mdMinor, devices, level, numdisks in mdlist:
+ for mdMinor in range(0, 16):
md = "md%d" %(mdMinor,)
isys.makeDevInode(md, "/dev/%s" %(md,))