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

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

 



Looks ok,

Regards,

Hans


On 04/21/2009 01:23 AM, David Lehman wrote:
---
  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):

_______________________________________________
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