The s6-mount program
s6-mount mounts filesystems.
s6-mount -a [ -z fstab ]
s6-mount [ -n ] [ -r | -w ] [ -t fstype ] [ -o option[,option...] ] device mntpoint
- s6-mount -a mounts all partitions according to /etc/fstab.
- If the -a option is not given,
s6-mount mounts device on mntpoint.
- s6-mount does not touch /etc/mtab.
- 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
- -a : process /etc/fstab instead of command
- -z fstab : read file at fstab
instead of /etc/fstab
- -n : ignored
- -t fstype : filesystem is of type fstype.
You probably need to specify this.
- -r : mount read-only
- -w : mount read-write (default)
- -o option : mount with option option.
Currently recognized options: defaults, ro, rw, remount, sync, async,
nodev, dev, noexec, exec, nosuid, suid, noatime, atime, nodiratime, diratime,
bind, nobind, move, nomove. Unrecognized options are given directly to the kernel.