--- pyanaconda/storage/devices.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py index db17391..abc1d81 100644 --- a/pyanaconda/storage/devices.py +++ b/pyanaconda/storage/devices.py @@ -1081,6 +1081,15 @@ class PartitionDevice(StorageDevice): start=geometry.start, end=geometry.end) @property + def path(self): + if not self.parents: + devDir = StorageDevice._devDir + else: + devDir = self.parents[0]._devDir + + return "%s/%s" % (devDir, self.name) + + @property def partType(self): """ Get the partition's type (as parted constant). """ try: -- 1.7.3.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list