summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-14 17:31:22 +1100
committerNeil Brown <neilb@suse.de>2006-12-14 17:31:22 +1100
commitb90c0e9a12090c435f23da8378b3436c93f77f2f (patch)
tree221aa0ad769db836533999ef8fd2003e90904066 /mdadm.8
parente336254463da8ffa9923118a9c802253d312b8bb (diff)
downloadmdadm-b90c0e9a12090c435f23da8378b3436c93f77f2f.tar.gz
mdadm-b90c0e9a12090c435f23da8378b3436c93f77f2f.tar.xz
mdadm-b90c0e9a12090c435f23da8378b3436c93f77f2f.zip
--wait or -W will wait for resync activity to finish on the given devices.
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