[PATCH] Set md member devices' uuids after creating an array.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 storage/devices.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 6474473..91f2899 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2406,6 +2406,8 @@ class MDRaidArrayDevice(StorageDevice):
         self.updateSysfsPath()
         info = udev_get_block_device("/sys%s" % self.sysfsPath)
         self.uuid = udev_device_get_md_uuid(info)
+        for member in self.devices:
+            member.mdUuid = self.uuid
 
     @property
     def formatArgs(self):
-- 
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux