summaryrefslogtreecommitdiffstats
path: root/fsset.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-12-20 21:20:08 +0000
committerJeremy Katz <katzj@redhat.com>2004-12-20 21:20:08 +0000
commitdee05788b0612b12a92b434748f369f5848d1cd3 (patch)
tree13c6ded4d0f8faaaa10c17d5dec674c4c98b4a83 /fsset.py
parent6cdd0175be203c618c92fa43b58764f1ccb230b6 (diff)
downloadanaconda-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 'fsset.py')
-rw-r--r--fsset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/fsset.py b/fsset.py
index b20d7e2c3..52dcd48d7 100644
--- a/fsset.py
+++ b/fsset.py
@@ -846,7 +846,8 @@ class prepbootFileSystem(FileSystemType):
def getDiskPart(dev):
cut = len(dev)
if (dev.startswith('rd/') or dev.startswith('ida/') or
- dev.startswith('cciss/') or dev.startswith('i2o/')):
+ dev.startswith('cciss/') or dev.startswith('i2o/')
+ or dev.startswith("sx8/")):
if dev[-2] == 'p':
cut = -1
elif dev[-3] == 'p':