diff options
author | Jeremy Katz <katzj@redhat.com> | 2002-07-11 04:23:35 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2002-07-11 04:23:35 +0000 |
commit | 65149730e02186c97c1e77b2dcfdb20384ac4d14 (patch) | |
tree | 5e11f2e6667830d5420b31cef151cb98fd8d4587 /iutil.py | |
parent | 95abc77860238c0b6352f0918771b0561aa5fd8a (diff) | |
download | anaconda-65149730e02186c97c1e77b2dcfdb20384ac4d14.tar.gz anaconda-65149730e02186c97c1e77b2dcfdb20384ac4d14.tar.xz anaconda-65149730e02186c97c1e77b2dcfdb20384ac4d14.zip |
create smartarray devices nodes correctly (#67652)
Diffstat (limited to 'iutil.py')
-rw-r--r-- | iutil.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -402,8 +402,14 @@ def makeDriveDeviceNodes(): else: num = 15 + if (drive.startswith("cciss") or drive.startswith("ida") or + drive.startswith("rd")): + sep = "p" + else: + sep = "" + for i in range(1, num): - dev = "%s%d" % (drive, i) + dev = "%s%s%d" % (drive, sep, i) isys.makeDevInode(dev, "/dev/%s" % (dev,)) cdroms = isys.cdromList() |