summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.88
1 files changed, 8 insertions, 0 deletions
diff --git a/mdadm.8 b/mdadm.8
index 274609c..b618f5a 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -931,6 +931,14 @@ the exit status of
.I mdadm
is set to reflect the status of the device.
+.TP
+.BR -W ", " --wait
+For each md device given, wait for any resync, recovery, or reshape
+activity to finish before returning.
+.I mdadm
+will return with success if it actually waited for every device
+listed, otherwise it will return failure.
+
.SH For Monitor mode:
.TP
.BR -m ", " --mail