[PATCH] Add the device's name to mdadm.conf (#496390).

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

 



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

diff --git a/storage/devices.py b/storage/devices.py
index 976c238..0d8fda4 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -2174,8 +2174,8 @@ class MDRaidArrayDevice(StorageDevice):
         if self.level is None or self.memberDevices is None or not self.uuid:
             raise DeviceError("array is not fully defined")
 
-        fmt = "ARRAY level=raid%d num-devices=%d UUID=%s\n"
-        return fmt % (self.level, self.memberDevices, self.uuid)
+        fmt = "ARRAY %s level=raid%d num-devices=%d UUID=%s\n"
+        return fmt % (self.path, self.level, self.memberDevices, self.uuid)
 
     @property
     def totalDevices(self):
-- 
1.6.1.3

_______________________________________________
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