summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-23 06:05:46 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-23 06:05:46 +0000
commitedb17cf415fac5f70e00dd86802adb49d1e5ca06 (patch)
tree709d4514416d43495f09be659f4fa0fd8e1ecdab /doc
parent09db9410aa882e4d981272e409fb23ce8d1ced16 (diff)
downloadmdevd-edb17cf415fac5f70e00dd86802adb49d1e5ca06.tar.gz
mdevd-edb17cf415fac5f70e00dd86802adb49d1e5ca06.tar.xz
mdevd-edb17cf415fac5f70e00dd86802adb49d1e5ca06.zip
Add examples
Diffstat (limited to 'doc')
-rw-r--r--doc/mdevd.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/mdevd.html b/doc/mdevd.html
index 3b21565..3e8d594 100644
--- a/doc/mdevd.html
+++ b/doc/mdevd.html
@@ -64,8 +64,9 @@ coldplug uevents. </li>
 <h2> Exit codes </h2>
 
 <ul>
- <li> 0: EOF read on mdevd's stdin </li>
+ <li> 0: EOF read on standard input </li>
  <li> 1: received an invalid event </li>
+ <li> 2: syntax error in the configuration file </li>
  <li> 100: wrong usage </li>
  <li> 111: system call failed </li>
 </ul>
@@ -128,6 +129,8 @@ That allows it to work as a coldplug manager when paired with
 it acts as a daemon, because mdev-netlink normally never exits until
 the end of the machine lifetime and never closes its stdout, so
 mdevd's stdin never receives EOF. </li>
+ <li> The <tt>examples/</tt> subdirectory of the mdevd package contains
+examples on how to run mdevd under various init systems / supervisors. </li>
 </ul>
 
 </body>