aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mdevd.html
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-06-01 10:03:28 +0000
committerLaurent Bercot <ska@appnovation.com>2025-06-01 10:03:28 +0000
commit19a4b38f2bcfe6a1809bdcbcd23fdec15c3cf771 (patch)
tree6595c36b3a8d11959689eb69231d0cbf90a0cca2 /doc/mdevd.html
parentf2dfc6263ece1fc0f41e01adbb33350b7f024d89 (diff)
downloadmdevd-19a4b38f2bcfe6a1809bdcbcd23fdec15c3cf771.tar.gz
Add config test option to mdevd (thanks lanodan)
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/mdevd.html')
-rw-r--r--doc/mdevd.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/mdevd.html b/doc/mdevd.html
index 7c2a869..4b814de 100644
--- a/doc/mdevd.html
+++ b/doc/mdevd.html
@@ -49,7 +49,7 @@ to running mdevd over mdev. </li>
<h2> Interface </h2>
<pre>
- mdevd [ -v <em>verbosity</em> ] [ -D <em>notif</em> ] [ -I <em>intake</em> ] [ -o <em>outputfd</em> ] [ -I <em>intake</em> ] [ -O <em>nlgroups</em> ] [ -b <em>kbufsz</em> ] [ -f <em>conffile</em> ] [ -n ] [ -s <em>slashsys</em> ] [ -d <em>slashdev</em> ] [ -F <em>fwbase</em> ] [ -C ]
+ mdevd [ -v <em>verbosity</em> ] [ -D <em>notif</em> ] [ -I <em>intake</em> ] [ -o <em>outputfd</em> ] [ -I <em>intake</em> ] [ -O <em>nlgroups</em> ] [ -b <em>kbufsz</em> ] [ -f <em>conffile</em> ] [ -n | -N ] [ -s <em>slashsys</em> ] [ -d <em>slashdev</em> ] [ -F <em>fwbase</em> ] [ -C ]
</pre>
<ul>
@@ -126,6 +126,9 @@ from mdevd at coldplug time, try increasing this number. </li>
<li> <tt>-n</tt>&nbsp;: dry run. mdevd will not create or delete
device nodes, and it will not spawn commands. Instead, it will print to stdout
the actions it would have performed. </li>
+ <li> <tt>-N</tt>&nbsp;: configuration file test. mdevd will not run, it will
+only parse its configuration file and exit 0 on success or nonzero (with an
+error message) on failure. This option overrides, and is overridden by, <tt>-n</tt>. </li>
<li> <tt>-f</tt>&nbsp;<em>conffile</em>&nbsp;: read the configuration
file from <em>conffile</em>. Default is <tt>/etc/mdev.conf</tt>.
<em>conffile</em> must be an absolute path. </li>