summaryrefslogtreecommitdiff
path: root/sbin/mount_autofs
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2018-01-22 10:34:20 +0000
committerkamil <kamil@NetBSD.org>2018-01-22 10:34:20 +0000
commit3043b2aded57c9708c71d6615807770236ca8986 (patch)
tree28b83fae0f544a65e3df19e07d9b4ebd4afd6961 /sbin/mount_autofs
parentcb86046726ea76f410642108b8d81e04db6954d6 (diff)
Improve the mount_autofs(8) stub documentation
Improve DESCRIPTION and NAME.
Diffstat (limited to 'sbin/mount_autofs')
-rw-r--r--sbin/mount_autofs/mount_autofs.841
1 files changed, 37 insertions, 4 deletions
diff --git a/sbin/mount_autofs/mount_autofs.8 b/sbin/mount_autofs/mount_autofs.8
index 94e48c4ff63..4c6b7a0f967 100644
--- a/sbin/mount_autofs/mount_autofs.8
+++ b/sbin/mount_autofs/mount_autofs.8
@@ -22,12 +22,12 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 15, 2018
+.Dd January 22, 2018
.Dt MOUNT_AUTOFS 8
.Os
.Sh NAME
.Nm mount_autofs
-.Nd mount autofs
+.Nd mount automounter filesystem
.Sh SYNOPSIS
.Nm
.Op Fl f Ar from
@@ -39,8 +39,41 @@
.Sh DESCRIPTION
The
.Nm
-command is ported from
-.Nx .
+command attaches the automounter filesystem on the
+.Ar autofs
+device on to the file system tree at point
+.Ar mount_point .
+Both
+.Ar autofs
+and
+.Ar mount_point
+are converted to absolute paths before use.
+.Pp
+This command is normally executed by
+.Xr mount 8
+at boot time.
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl o
+Options are specified with a
+.Fl o
+flag followed by a comma separated string of options.
+See the
+.Xr mount 8
+man page for possible options and their meanings.
+.It Fl O
+automounter options are specified with a
+.Fl O
+flag.
+.It Fl p
+automounter prefix is specified with a
+.Fl p
+flag.
+.It Fl f
+automounter parameter from is specified with a
+.Fl f
+flag.
+.El
.Sh SEE ALSO
.Xr autofs 5 ,
.Xr fstab 5 ,