diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-09-30 16:38:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-09-30 16:38:44 +0000 |
commit | c9620313f89e438ed1b765a8ea64756fb61c16e7 (patch) | |
tree | 564d123f8942ceb66a2b922ca4629d709578b148 | |
parent | 536fd18176e2ebce913a828765cf8bb77f29e926 (diff) | |
download | s6-linux-utils-c9620313f89e438ed1b765a8ea64756fb61c16e7.tar.xz |
Document s6-mount exit codes (thanks Aranea)
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | doc/s6-mount.html | 10 |
2 files changed, 11 insertions, 0 deletions
@@ -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> — 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> |