diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-23 23:09:17 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-23 23:09:17 +0000 |
commit | 2474183a0f8f1e47745821ef00c35c2883f5709f (patch) | |
tree | e219914f1b99359a9b4498dad7331ae807c5ad03 /iutil.py | |
parent | 36f48277936c46f1c96bb72e622b4d2920866999 (diff) | |
download | anaconda-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.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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,)) |