[PATCH] Document s6-mount return values

From: Luis Ressel <aranea_at_aixah.de>
Date: Thu, 27 Sep 2018 00:12:51 +0200

---
 doc/s6-mount.html | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/doc/s6-mount.html b/doc/s6-mount.html
index 81537b5..c4151d8 100644
--- a/doc/s6-mount.html
+++ b/doc/s6-mount.html
_at_@ -36,6 +36,16 @@
  <li> <tt>s6-mount</tt> does not touch <tt>/etc/mtab</tt>. </li>
 </ul>
 
+<h2> Exit codes </h2>
+
+<ul>
+ <li> 0: success </li>
+ <li> 1: <tt>mount()</tt> returned <tt>-EBUSY</tt>; most likely the filesystem is already mounted </li>
+ <li> 100: wrong usage </li>
+ <li> 111: system call failed </li>
+ <li> <em>n</em>: <tt>s6-mount -a</tt> was called, and <em>n</em> of the fstab entries couldn't be mounted </li>
+</ul>
+
 <h2> Options </h2>
 
 <ul>
-- 
2.19.0
Received on Wed Sep 26 2018 - 22:12:51 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC