summaryrefslogtreecommitdiff
path: root/sbin/mount_autofs
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2018-01-22 09:45:32 +0000
committerkamil <kamil@NetBSD.org>2018-01-22 09:45:32 +0000
commit3bd798e6b4000a2c67e95ee7e6ef45a94298259d (patch)
tree0914c5f5f191346c9a0b1864b46832ca45204800 /sbin/mount_autofs
parentb228904f98aee0a57a5f45d80814b5fcf8182661 (diff)
Add mount_autofs(8) from DragonFly BSD
Diffstat (limited to 'sbin/mount_autofs')
-rw-r--r--sbin/mount_autofs/Makefile5
-rw-r--r--sbin/mount_autofs/mount_autofs.862
2 files changed, 64 insertions, 3 deletions
diff --git a/sbin/mount_autofs/Makefile b/sbin/mount_autofs/Makefile
index 26056958205..cad1aec42d1 100644
--- a/sbin/mount_autofs/Makefile
+++ b/sbin/mount_autofs/Makefile
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.1 2018/01/14 22:44:04 christos Exp $
+# $NetBSD: Makefile,v 1.2 2018/01/22 09:45:32 kamil Exp $
# @(#)Makefile 8.2 (Berkeley) 3/27/94
-NOMAN=
.include <bsd.own.mk>
PROG= mount_autofs
SRCS= mount_autofs.c
-#MAN= mount_autofs.8
+MAN= mount_autofs.8
DPADD+=${LIBUTIL}
LDADD+=-lutil
diff --git a/sbin/mount_autofs/mount_autofs.8 b/sbin/mount_autofs/mount_autofs.8
new file mode 100644
index 00000000000..94e48c4ff63
--- /dev/null
+++ b/sbin/mount_autofs/mount_autofs.8
@@ -0,0 +1,62 @@
+.\" Copyright (c) 2018 The DragonFly Project
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.Dd January 15, 2018
+.Dt MOUNT_AUTOFS 8
+.Os
+.Sh NAME
+.Nm mount_autofs
+.Nd mount autofs
+.Sh SYNOPSIS
+.Nm
+.Op Fl f Ar from
+.Op Fl o Ar options
+.Op Fl O Ar master_options
+.Op Fl p Ar master_prefix
+.Ar autofs
+.Ar mount_point
+.Sh DESCRIPTION
+The
+.Nm
+command is ported from
+.Nx .
+.Sh SEE ALSO
+.Xr autofs 5 ,
+.Xr fstab 5 ,
+.Xr automount 8 ,
+.Xr mount 8
+.Sh HISTORY
+The
+.Nm
+utility first appeared in
+.Nx 9.0 .
+The
+.Nm
+utility first appeared in
+.Dx 5.1 .
+.Pp
+This manpage first appeared in
+.Dx
+and has been ported to
+.Nx .