summaryrefslogtreecommitdiff
path: root/doc/s6-mount.html
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 /doc/s6-mount.html
parent536fd18176e2ebce913a828765cf8bb77f29e926 (diff)
downloads6-linux-utils-c9620313f89e438ed1b765a8ea64756fb61c16e7.tar.xz
Document s6-mount exit codes (thanks Aranea)
Diffstat (limited to 'doc/s6-mount.html')
-rw-r--r--doc/s6-mount.html10
1 files changed, 10 insertions, 0 deletions
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>