summaryrefslogtreecommitdiffstats
path: root/mdmon.8
diff options
context:
space:
mode:
authorLuca Berra <bluca@comedia.it>2010-02-27 16:07:04 +0100
committerNeilBrown <neilb@suse.de>2010-03-03 01:06:08 +0100
commiteb49460b74f42e23bf284c4ccf92f4b6da2c582d (patch)
treedb3264401bc5fb2413e4d78fcb2c2b27502b8de1 /mdmon.8
parentAdd _FORTIFY_SOURCE to mdadm.O2 build. (diff)
downloadmdadm-eb49460b74f42e23bf284c4ccf92f4b6da2c582d.tar.xz
mdadm-eb49460b74f42e23bf284c4ccf92f4b6da2c582d.zip
fix mdmon option parsing
running mdmon --takeover --all resulted in a segfault. Also allow "--all" to be longer so that e.g. md_d127 can successfully over-write it in the argument list visible to 'ps'. Signed-off-by: Luca Berra <bluca@comedia.it> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.8')
-rw-r--r--mdmon.810
1 files changed, 9 insertions, 1 deletions
diff --git a/mdmon.8 b/mdmon.8
index df9dfbce..8a482b34 100644
--- a/mdmon.8
+++ b/mdmon.8
@@ -157,6 +157,14 @@ This tells mdmon to find any active containers and start monitoring
each of them if appropriate. This is normally used with
.B \-\-takeover
late in the boot sequence.
+A separate
+.I mdmon
+process is started for each container as the
+.B \-\-all
+argument is over-written with the name of the container. To allow for
+containers with names longer than 5 characters, this argument can be
+arbitrarily extended, e.g. to
+.BR \-\-all-active-arrays .
.PP
Note that
@@ -228,7 +236,7 @@ filesystem, like the root filesystem, should be remounted read-only.
.SH EXAMPLES
-.B " mdmon \-\-all \-\-takeover"
+.B " mdmon \-\-all-active-arrays \-\-takeover"
.br
Any
.I mdmon