Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/mountd Don't document long defunct flags



details:   https://anonhg.NetBSD.org/src/rev/fa1ac920b72f
branches:  trunk
changeset: 770917:fa1ac920b72f
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Nov 02 18:09:43 2011 +0000

description:
Don't document long defunct flags

diffstat:

 usr.sbin/mountd/mountd.8 |  12 +++---------
 usr.sbin/mountd/mountd.c |   6 +++---
 2 files changed, 6 insertions(+), 12 deletions(-)

diffs (67 lines):

diff -r 4659beed8561 -r fa1ac920b72f usr.sbin/mountd/mountd.8
--- a/usr.sbin/mountd/mountd.8  Wed Nov 02 17:49:20 2011 +0000
+++ b/usr.sbin/mountd/mountd.8  Wed Nov 02 18:09:43 2011 +0000
@@ -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 @@
 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
diff -r 4659beed8561 -r fa1ac920b72f usr.sbin/mountd/mountd.c
--- a/usr.sbin/mountd/mountd.c  Wed Nov 02 17:49:20 2011 +0000
+++ b/usr.sbin/mountd/mountd.c  Wed Nov 02 18:09:43 2011 +0000
@@ -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 @@
 #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 @@
                case 'r':
                        break;
                default:
-                       fprintf(stderr, "usage: %s [-dNn]"
+                       fprintf(stderr, "Usage: %s [-dN]"
 #ifdef IPSEC
                            " [-P policy]"
 #endif



Home | Main Index | Thread Index | Old Index