diff options
author | NeilBrown <neilb@suse.de> | 2013-02-05 05:57:09 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-02-05 05:57:09 +0100 |
commit | 030419821fb77f9955f2017b4a6d3d8139d6db25 (patch) | |
tree | 4654d51c0449c1b83043faea24d7209a55df403e /mdmon.8 | |
parent | In case launching mdmon fails, print an error message before exiting (diff) | |
download | mdadm-030419821fb77f9955f2017b4a6d3d8139d6db25.tar.xz mdadm-030419821fb77f9955f2017b4a6d3d8139d6db25.zip |
mdmon: add --foreground option
While not strictly necessary for systemd, it is cleaner to avoid
forking when running from a management daemon. So add a --foreground
option to mdmon.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.8')
-rw-r--r-- | mdmon.8 | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -5,7 +5,7 @@ mdmon \- monitor MD external metadata arrays .SH SYNOPSIS -.BI mdmon " [--all] [--takeover] CONTAINER" +.BI mdmon " [--all] [--takeover] [--foreground] CONTAINER" .SH OVERVIEW The 2.6.27 kernel brings the ability to support external metadata arrays. @@ -131,6 +131,14 @@ The device to monitor. It can be a full path like /dev/md/container, or a simple md device name like md127. .TP +.B \-\-foreground +Normally, +.I mdmon +will fork and continue in the background. Adding this option will +skip that step and run +.I mdmon +in the foreground. +.TP .B \-\-takeover This instructs .I mdmon |