diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-05-07 18:43:01 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-05-07 18:43:01 +0000 |
commit | c9e2d6b49375de11b8d9e948f27eddc8719a87f0 (patch) | |
tree | 18a77f0479117757f6548d9b3e2a3c0706213051 | |
parent | 88d6634f5750d89111f55ffde01f119b615616a3 (diff) | |
download | anaconda-c9e2d6b49375de11b8d9e948f27eddc8719a87f0.tar.gz anaconda-c9e2d6b49375de11b8d9e948f27eddc8719a87f0.tar.xz anaconda-c9e2d6b49375de11b8d9e948f27eddc8719a87f0.zip |
some i2o fixes from warren & markus
-rwxr-xr-x | command-stubs/mknod-stub | 2 | ||||
-rw-r--r-- | fsset.py | 2 | ||||
-rw-r--r-- | iutil.py | 2 | ||||
-rw-r--r-- | partedUtils.py | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/command-stubs/mknod-stub b/command-stubs/mknod-stub index f7491eabf..53fd44c17 100755 --- a/command-stubs/mknod-stub +++ b/command-stubs/mknod-stub @@ -26,7 +26,7 @@ def main(): while (drive.find('/') != -1): if (drive.startswith("cciss") or drive.startswith("ida") or drive.startswith("rd") or drive.startswith("ataraid") - or drive.startswith("iseries")): + or drive.startswith("iseries") or drive.startswith("i2o")): break drive = drive[drive.find('/') + 1:] isys.makeDevInode(drive, path) @@ -810,7 +810,7 @@ class prepbootFileSystem(FileSystemType): def getDiskPart(dev): cut = len(dev) if (dev.startswith('rd/') or dev.startswith('ida/') or - dev.startswith('cciss/')): + dev.startswith('cciss/') or dev.startswith('i2o/')): if dev[-2] == 'p': cut = -1 elif dev[-3] == 'p': @@ -455,7 +455,7 @@ def makeDriveDeviceNodes(): num = 15 if (drive.startswith("cciss") or drive.startswith("ida") or - drive.startswith("rd")): + drive.startswith("rd") or drive.startswith("i2o")): sep = "p" else: sep = "" diff --git a/partedUtils.py b/partedUtils.py index dfa334f46..fa3072554 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -1065,6 +1065,7 @@ max_logical_partition_count = { "ataraid/": 11, "rd/": 3, "cciss/": 11, + "i2o/", 11, "iseries/vd": 3, "ida/": 11 } |