From c9620313f89e438ed1b765a8ea64756fb61c16e7 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 30 Sep 2018 16:38:44 +0000 Subject: Document s6-mount exit codes (thanks Aranea) --- AUTHORS | 1 + doc/s6-mount.html | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/AUTHORS b/AUTHORS index 358487c..14435b4 100644 --- a/AUTHORS +++ b/AUTHORS @@ -3,6 +3,7 @@ Main author: Contributors: Eric Le Bihan + Luis Ressel Thanks to: Dan J. Bernstein 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 @@
  • s6-mount does not touch /etc/mtab.
  • +

    Exit codes

    + +
      +
    • 0: success
    • +
    • 1: mount() returned -EBUSY — most likely, the filesystem is already mounted
    • +
    • 100: wrong usage
    • +
    • 111: system call failed
    • +
    • n: s6-mount -a was called, and n fstab entries couldn't be mounted
    • +
    +

    Options

      -- cgit v1.2.3