Re: [PATCH] Fix position of "--run" option to mdadm assemble.

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

 



Looks good,

Regards,

Hans


On 04/21/2009 01:17 AM, David Lehman wrote:
Having run as the first argument sets the mode to miscellaneous,
which is not what we want -- we want assembly mode since we are
assembling an array.
---
  storage/devicelibs/mdraid.py |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/storage/devicelibs/mdraid.py b/storage/devicelibs/mdraid.py
index cd704ee..333fa6c 100644
--- a/storage/devicelibs/mdraid.py
+++ b/storage/devicelibs/mdraid.py
@@ -174,10 +174,10 @@ def mdactivate(device, members=[], super_minor=None, uuid=None):
          identifier = ""

      rc = iutil.execWithRedirect("mdadm",
-                                ["--run",
-                                 "--assemble",
+                                ["--assemble",
                                   device,
                                   identifier,
+                                 "--run",
                                   "--auto=md",
                                   "--update=super-minor"] + members,
                                  stderr = "/dev/tty5",

_______________________________________________
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