summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-09-30 16:38:44 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-09-30 16:38:44 +0000
commitc9620313f89e438ed1b765a8ea64756fb61c16e7 (patch)
tree564d123f8942ceb66a2b922ca4629d709578b148
parent536fd18176e2ebce913a828765cf8bb77f29e926 (diff)
downloads6-linux-utils-c9620313f89e438ed1b765a8ea64756fb61c16e7.tar.xz
Document s6-mount exit codes (thanks Aranea)
-rw-r--r--AUTHORS1
-rw-r--r--doc/s6-mount.html10
2 files changed, 11 insertions, 0 deletions
diff --git a/AUTHORS b/AUTHORS
index 358487c..14435b4 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -3,6 +3,7 @@ Main author:
Contributors:
Eric Le Bihan <eric.le.bihan.dev@free.fr>
+ Luis Ressel <aranea@aixah.de>
Thanks to:
Dan J. Bernstein <djb@cr.yp.to>
diff --git a/doc/s6-mount.html b/doc/s6-mount.html
index 81537b5..92c04d7 100644
--- a/doc/s6-mount.html
+++ b/doc/s6-mount.html
@@ -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> &mdash; 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> fstab entries couldn't be mounted </li>
+</ul>
+
<h2> Options </h2>
<ul>