Module Name: src
Committed By: christos
Date: Wed Nov 2 18:09:44 UTC 2011
Modified Files:
src/usr.sbin/mountd: mountd.8 mountd.c
Log Message:
Don't document long defunct flags
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/mountd/mountd.8
cvs rdiff -u -r1.122 -r1.123 src/usr.sbin/mountd/mountd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/mountd/mountd.8
diff -u src/usr.sbin/mountd/mountd.8:1.32 src/usr.sbin/mountd/mountd.8:1.33
--- src/usr.sbin/mountd/mountd.8:1.32 Thu Jan 5 05:41:03 2006
+++ src/usr.sbin/mountd/mountd.8 Wed Nov 2 14:09:43 2011
@@ -1,4 +1,4 @@
-.\" $NetBSD: mountd.8,v 1.32 2006/01/05 10:41:03 yamt Exp $
+.\" $NetBSD: mountd.8,v 1.33 2011/11/02 18:09:43 christos Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)mountd.8 8.4 (Berkeley) 4/28/95
.\"
-.Dd January 5, 2006
+.Dd November 2, 2011
.Dt MOUNTD 8
.Os
.Sh NAME
@@ -39,7 +39,7 @@
mount requests
.Sh SYNOPSIS
.Nm
-.Op Fl dNn
+.Op Fl dN
.Op Fl P Ar policy
.Op Fl p Ar port
.Op Ar exportsfile
@@ -73,12 +73,6 @@ on every export.
See
.Xr exports 5
for more information.
-.It Fl n
-This flag used to indicate that clients were required to make requests
-from reserved ports, but it is now no longer functional. It
-is only provided for backwards compatibility. Requests
-are checked for reserved ports on a per-export basis, see
-.Xr exports 5 .
.It Fl P Ar policy
IPsec
.Ar policy
Index: src/usr.sbin/mountd/mountd.c
diff -u src/usr.sbin/mountd/mountd.c:1.122 src/usr.sbin/mountd/mountd.c:1.123
--- src/usr.sbin/mountd/mountd.c:1.122 Tue Aug 30 16:00:58 2011
+++ src/usr.sbin/mountd/mountd.c Wed Nov 2 14:09:44 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: mountd.c,v 1.122 2011/08/30 20:00:58 joerg Exp $ */
+/* $NetBSD: mountd.c,v 1.123 2011/11/02 18:09:44 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 19
#if 0
static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95";
#else
-__RCSID("$NetBSD: mountd.c,v 1.122 2011/08/30 20:00:58 joerg Exp $");
+__RCSID("$NetBSD: mountd.c,v 1.123 2011/11/02 18:09:44 christos Exp $");
#endif
#endif /* not lint */
@@ -301,7 +301,7 @@ main(int argc, char **argv)
case 'r':
break;
default:
- fprintf(stderr, "usage: %s [-dNn]"
+ fprintf(stderr, "Usage: %s [-dN]"
#ifdef IPSEC
" [-P policy]"
#endif