summaryrefslogtreecommitdiffstats
path: root/iutil.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-07-11 04:23:35 +0000
committerJeremy Katz <katzj@redhat.com>2002-07-11 04:23:35 +0000
commit65149730e02186c97c1e77b2dcfdb20384ac4d14 (patch)
tree5e11f2e6667830d5420b31cef151cb98fd8d4587 /iutil.py
parent95abc77860238c0b6352f0918771b0561aa5fd8a (diff)
downloadanaconda-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.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/iutil.py b/iutil.py
index 80c3a0cb1..9e3d07221 100644
--- a/iutil.py
+++ b/iutil.py
@@ -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()