diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-12-20 21:20:08 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-12-20 21:20:08 +0000 |
commit | dee05788b0612b12a92b434748f369f5848d1cd3 (patch) | |
tree | 13c6ded4d0f8faaaa10c17d5dec674c4c98b4a83 /partedUtils.py | |
parent | 6cdd0175be203c618c92fa43b58764f1ccb230b6 (diff) | |
download | anaconda-dee05788b0612b12a92b434748f369f5848d1cd3.tar.gz anaconda-dee05788b0612b12a92b434748f369f5848d1cd3.tar.xz anaconda-dee05788b0612b12a92b434748f369f5848d1cd3.zip |
2004-12-20 Jeremy Katz <katzj@redhat.com>
* command-stubs/mknod-stub (main): Add
* partedUtils.py (get_partition_name):
* iutil.py (makeDriveDeviceNodes):
* fsset.py (prepbootFileSystem.getDiskPart):
Promise SX8 devices are of the form /dev/sx8/dpn; support this as
needed.
Diffstat (limited to 'partedUtils.py')
-rw-r--r-- | partedUtils.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/partedUtils.py b/partedUtils.py index b7d3cabc4..c38d849c6 100644 --- a/partedUtils.py +++ b/partedUtils.py @@ -117,6 +117,11 @@ def get_partition_name(partition): or partition.geom.dev.type == parted.DEVICE_CPQARRAY): return "%sp%d" % (partition.geom.dev.path[5:], partition.num) + if (parted.__dict__.has_key("DEVICE_SX8") and + partition.geom.dev.type == parted.DEVICE_SX8): + return "%sp%d" % (partition.geom.dev.path[5:], + partition.num) + return "%s%d" % (partition.geom.dev.path[5:], partition.num) @@ -1099,5 +1104,6 @@ max_logical_partition_count = { "cciss/": 11, "i2o/": 11, "iseries/vd": 3, - "ida/": 11 + "ida/": 11, + "sx8/": 11, } |