summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mountd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/mountd')
-rw-r--r--usr.sbin/mountd/mountd.812
-rw-r--r--usr.sbin/mountd/mountd.c7
2 files changed, 10 insertions, 9 deletions
diff --git a/usr.sbin/mountd/mountd.8 b/usr.sbin/mountd/mountd.8
index f709841..8dfdc7c 100644
--- a/usr.sbin/mountd/mountd.8
+++ b/usr.sbin/mountd/mountd.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mountd.8 8.4 (Berkeley) 4/28/95
-.\" $Id: mountd.8,v 1.10 1997/04/22 10:37:27 dfr Exp $
+.\" $Id: mountd.8,v 1.11 1997/12/09 18:43:44 guido Exp $
.\"
.Dd April 28, 1995
.Dt MOUNTD 8
@@ -42,7 +42,7 @@
mount requests
.Sh SYNOPSIS
.Nm /sbin/mountd
-.Op Fl 2nrl
+.Op Fl 2lnr
.Op Ar exportsfile
.Sh DESCRIPTION
.Xr Mountd
@@ -66,6 +66,10 @@ The
.Fl 2
option allows the administrator to force clients to use only the
version 2 NFS protocol to mount filesystems from this server.
+.It Fl l
+The
+.Fl l
+option will cause all succeeded mountd requests to be logged.
.It Fl n
The
.Fl n
@@ -87,10 +91,6 @@ the entire file system in which the swapfiles resides
will have to be exported with the
.Fl alldirs
flag.
-.It Fl l
-The
-.Fl l
-option will cause all succeeded mountd requests to be logged.
.It Ar exportsfile
The
.Ar exportsfile
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index c2c354d..4e797f7 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -43,7 +43,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95"; */
static const char rcsid[] =
- "$Id: mountd.c,v 1.24 1997/09/12 16:25:24 jlemon Exp $";
+ "$Id: mountd.c,v 1.25 1997/12/09 18:43:44 guido Exp $";
#endif /*not lint*/
#include <sys/param.h>
@@ -273,7 +273,7 @@ main(argc, argv)
errx(1, "NFS support is not available in the running kernel");
#endif /* __FreeBSD__ */
- while ((c = getopt(argc, argv, "2dnrl")) != -1)
+ while ((c = getopt(argc, argv, "2dlnr")) != -1)
switch (c) {
case '2':
force_v2 = 1;
@@ -291,7 +291,8 @@ main(argc, argv)
log = 1;
break;
default:
- fprintf(stderr, "Usage: mountd [-d] [-r] [-n] [-l] [export_file]\n");
+ fprintf(stderr,
+"Usage: mountd [-d] [-l] [-r] [-n] [export_file]\n");
exit(1);
};
argc -= optind;
OpenPOWER on IntegriCloud