]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.8
--wait or -W will wait for resync activity to finish on the given devices.
[thirdparty/mdadm.git] / mdadm.8
diff --git a/mdadm.8 b/mdadm.8
index 274609c17180676c953473413faa455b9fb23815..b618f5a671a2adaae1819f0ad4e16042cddb2d0b 100644 (file)
--- 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