git: 936c6d5c9618 - stable/14 - mountd.8: Document the new -A mountd option

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Tue, 16 Apr 2024 03:02:06 UTC
The branch stable/14 has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=936c6d5c9618610ff4f3a39349f3d16ecd3169c1

commit 936c6d5c9618610ff4f3a39349f3d16ecd3169c1
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2024-04-09 01:58:40 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2024-04-16 03:01:13 +0000

    mountd.8: Document the new -A mountd option
    
    Commit fefb7c399b39 added warning messages noting
    that administrative controls that exported directories
    that are not local server file system mount points actually
    export the entire local server file system.
    This commit also added a new command line option "-A' that
    silences these warnings.
    
    This patch documents the new "-A' mountd option.
    
    This is a content change.
    
    (cherry picked from commit cce11997a052549933ca1c4d7412bf51137e4d0b)
---
 usr.sbin/mountd/mountd.8 | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/usr.sbin/mountd/mountd.8 b/usr.sbin/mountd/mountd.8
index a8fa14d5df04..3eff5d598fe7 100644
--- a/usr.sbin/mountd/mountd.8
+++ b/usr.sbin/mountd/mountd.8
@@ -27,7 +27,7 @@
 .\"
 .\"     @(#)mountd.8	8.4 (Berkeley) 4/28/95
 .\"
-.Dd March 18, 2023
+.Dd April 8, 2024
 .Dt MOUNTD 8
 .Os
 .Sh NAME
@@ -37,7 +37,7 @@
 mount requests
 .Sh SYNOPSIS
 .Nm
-.Op Fl 2delnRrS
+.Op Fl 2AdelnRrS
 .Op Fl h Ar bindip
 .Op Fl p Ar port
 .Op Ar exportsfile ...
@@ -62,6 +62,16 @@ Allow the administrator to force clients to use only the
 version 2
 .Tn NFS
 protocol to mount file systems from this server.
+.It Fl A
+Silence the warnings related to
+.Dq administrative controls .
+These warnings remind users that an exported
+.Dq administrative control
+directory that is not a local server file system mount point
+actually exports the entire local file system and not just
+the subtree below the directory exported.
+(See
+.Xr exports 5 )
 .It Fl d
 Output debugging information.
 .Nm