|
Harald Hoyer |
d9da66 |
From d300160e70bd2ae038acabb12f18fbf039798b26 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
d9da66 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
d9da66 |
Date: Fri, 5 Jan 2018 11:02:12 +0100
|
|
Harald Hoyer |
d9da66 |
Subject: [PATCH] Revert "mdraid: call mdadm with "--wait-clean" instead of
|
|
Harald Hoyer |
d9da66 |
"-W""
|
|
Harald Hoyer |
d9da66 |
|
|
Harald Hoyer |
d9da66 |
This reverts commit bc4ce61efce3e2d8b2be4f4e3e5fdef6ca08409f.
|
|
Harald Hoyer |
d9da66 |
|
|
Harald Hoyer |
d9da66 |
Read wrong man page section. Got confused by
|
|
Harald Hoyer |
d9da66 |
https://github.com/dracutdevs/dracut/issues/342
|
|
Harald Hoyer |
d9da66 |
---
|
|
Harald Hoyer |
d9da66 |
modules.d/90mdraid/mdraid-waitclean.sh | 4 ++--
|
|
Harald Hoyer |
d9da66 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
d9da66 |
|
|
Harald Hoyer |
d9da66 |
diff --git a/modules.d/90mdraid/mdraid-waitclean.sh b/modules.d/90mdraid/mdraid-waitclean.sh
|
|
Harald Hoyer |
d9da66 |
index d7f0ffdb..5c901982 100755
|
|
Harald Hoyer |
d9da66 |
--- a/modules.d/90mdraid/mdraid-waitclean.sh
|
|
Harald Hoyer |
d9da66 |
+++ b/modules.d/90mdraid/mdraid-waitclean.sh
|
|
Harald Hoyer |
d9da66 |
@@ -13,12 +13,12 @@ if getargbool 0 rd.md.waitclean; then
|
|
Harald Hoyer |
d9da66 |
continue
|
|
Harald Hoyer |
d9da66 |
fi
|
|
Harald Hoyer |
d9da66 |
info "Waiting for $md to become clean"
|
|
Harald Hoyer |
d9da66 |
- mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1
|
|
Harald Hoyer |
d9da66 |
+ mdadm $_offroot -W "$md" >/dev/null 2>&1
|
|
Harald Hoyer |
d9da66 |
done
|
|
Harald Hoyer |
d9da66 |
|
|
Harald Hoyer |
d9da66 |
for md in $containers; do
|
|
Harald Hoyer |
d9da66 |
info "Waiting for $md to become clean"
|
|
Harald Hoyer |
d9da66 |
- mdadm $_offroot --wait-clean "$md" >/dev/null 2>&1
|
|
Harald Hoyer |
d9da66 |
+ mdadm $_offroot -W "$md" >/dev/null 2>&1
|
|
Harald Hoyer |
d9da66 |
done
|
|
Harald Hoyer |
d9da66 |
|
|
Harald Hoyer |
d9da66 |
unset containers udevinfo _offroot
|
|
Harald Hoyer |
d9da66 |
|