If the partition is on a DASD disk, write out the /dev/disk/by-path/... value to the /etc/fstab file rather than a UUID= line. --- storage/devices.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 61a0b67..3cc3aac 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -993,6 +993,15 @@ class PartitionDevice(StorageDevice): return (self.partType is not None and self.partType & parted.PARTITION_PROTECTED) + @property + def fstabSpec(self): + spec = self.path + if self.disk and self.disk.type == 'dasd': + spec = deviceNameToDiskByPath(self.path) + elif self.format and self.format.uuid: + spec = "UUID=%s" % self.format.uuid + return spec + def _getPartedPartition(self): if not self.exists: return self._partedPartition -- 1.6.2.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list