Also, we were unfairly asking parted to make guesses about
getDeviceNodeName for arbitrary files outside of /dev.
---
blivet/devices/partition.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py
index df762a4..ee15b33 100644
--- a/blivet/devices/partition.py
+++ b/blivet/devices/partition.py
@@ -376,7 +376,7 @@ class PartitionDevice(StorageDevice):
self.name = self.req_name
else:
self.name = \
- devicePathToName(self.partedPartition.getDeviceNodeName())
+ devicePathToName(self.partedPartition.path)
def dependsOn(self, dep):
""" Return True if this device depends on dep. """
--
1.9.3