diff options
author | Lukasz Florczak <lukasz.florczak@linux.intel.com> | 2022-03-18 09:26:06 +0100 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2022-04-05 03:14:23 +0200 |
commit | 24e075c659d0a8718aabefe5af4c97195a188af7 (patch) | |
tree | 6646fcd5a1a00e146b2c8eecfb0dc7921f3bf306 /mdadm.8.in | |
parent | mdadm: Update ReadMe (diff) | |
download | mdadm-24e075c659d0a8718aabefe5af4c97195a188af7.tar.xz mdadm-24e075c659d0a8718aabefe5af4c97195a188af7.zip |
mdadm: Update config man regarding default files and multi-keyword behavior
Simplify default and alternative config file and directory location references
from mdadm(8) as references to mdadm.conf(5). Add FILE section in config man
and explain order and conditions in which default and alternative config files
and directories are used.
Update config man behavior regarding parsing order when multiple keywords/config
files are involved.
Signed-off-by: Lukasz Florczak <lukasz.florczak@linux.intel.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'mdadm.8.in')
-rw-r--r-- | mdadm.8.in | 30 |
1 files changed, 12 insertions, 18 deletions
@@ -266,14 +266,11 @@ the exact meaning of this option in different contexts. .TP .BR \-c ", " \-\-config= -Specify the config file or directory. Default is to use -.B {CONFFILE} -and -.BR {CONFFILE}.d , -or if those are missing then -.B {CONFFILE2} -and -.BR {CONFFILE2}.d . +Specify the config file or directory. If not specified, default config file +and default conf.d directory will be used. See +.BR mdadm.conf (5) +for more details. + If the config file given is .B "partitions" then nothing will be read, but @@ -2013,11 +2010,9 @@ The config file is only used if explicitly named with .B \-\-config or requested with (a possibly implicit) .BR \-\-scan . -In the later case, -.B {CONFFILE} -or -.B {CONFFILE2} -is used. +In the later case, default config file is used. See +.BR mdadm.conf (5) +for more details. If .B \-\-scan @@ -3346,16 +3341,15 @@ on Monitor mode. .SS {CONFFILE} (or {CONFFILE2}) -The config file lists which devices may be scanned to see if -they contain MD super block, and gives identifying information -(e.g. UUID) about known MD arrays. See +Default config file. See .BR mdadm.conf (5) for more details. .SS {CONFFILE}.d (or {CONFFILE2}.d) -A directory containing configuration files which are read in lexical -order. +Default directory containing configuration files. See +.BR mdadm.conf (5) +for more details. .SS {MAP_PATH} When |