summaryrefslogtreecommitdiffstats
path: root/iw/partition_gui.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2009-04-03 16:05:02 +0200
committerHans de Goede <hdegoede@redhat.com>2009-04-06 19:49:45 +0200
commitbcb3ff60c76d94c57b7523e739724854b68b7711 (patch)
tree23b98ec8180d4149cbcde9afba902e2aae12ec9b /iw/partition_gui.py
parent5b52455b64f73d05e338479d16b761792b4dfd9a (diff)
downloadanaconda-bcb3ff60c76d94c57b7523e739724854b68b7711.tar.gz
anaconda-bcb3ff60c76d94c57b7523e739724854b68b7711.tar.xz
anaconda-bcb3ff60c76d94c57b7523e739724854b68b7711.zip
Try to handle devices which live in a subdir of /dev properly
This hopefully fixes cciss (will test once an anaconda with this in has hit rawhide, so I can use rhts to test). This is the second version of this patch, this time it also does the / -> ! translation for sysfs names.
Diffstat (limited to 'iw/partition_gui.py')
-rw-r--r--iw/partition_gui.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/iw/partition_gui.py b/iw/partition_gui.py
index 24559ee59..0105ef596 100644
--- a/iw/partition_gui.py
+++ b/iw/partition_gui.py
@@ -139,9 +139,6 @@ class DiskStripeSlice:
rc = rc + "%Ld MB" % (self.partition.getSize(unit="MB"),)
return rc
- def getDeviceName(self):
- return self.partition.getDeviceNodeName().split("/")[-1]
-
def update(self):
disk = self.parent.getDisk()
(cylinders, heads, sectors) = disk.device.biosGeometry