git: 6db916d21a09 - main - mound.8: Document the new -a command line option

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Sat, 28 Dec 2024 21:32:15 UTC
The branch main has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=6db916d21a09aebf3e7cb5c95e2ad714ab2b8882

commit 6db916d21a09aebf3e7cb5c95e2ad714ab2b8882
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2024-12-28 21:30:56 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2024-12-28 21:30:56 +0000

    mound.8: Document the new -a command line option
    
    Commit 07cd69e272da adds a new "-a" mountd option.
    
    This patch updates the man page for it.
    
    This is a content change.
    
    PR:     282995
    Reviewed by:    gbe (manpages)
    MFC after:      2 weeks
    Differential Revision:  https://reviews.freebsd.org/D48138
---
 usr.sbin/mountd/mountd.8 | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/mountd/mountd.8 b/usr.sbin/mountd/mountd.8
index 5c5717063f15..5ff9894b1d7a 100644
--- a/usr.sbin/mountd/mountd.8
+++ b/usr.sbin/mountd/mountd.8
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd July 5, 2024
+.Dd December 16, 2024
 .Dt MOUNTD 8
 .Os
 .Sh NAME
@@ -35,7 +35,7 @@
 mount requests
 .Sh SYNOPSIS
 .Nm
-.Op Fl 2AdelNnRrSs
+.Op Fl 2AadelNnRrSs
 .Op Fl h Ar bindip
 .Op Fl p Ar port
 .Op Ar exportsfile ...
@@ -70,6 +70,17 @@ actually exports the entire local file system and not just
 the subtree below the directory exported.
 (See
 .Xr exports 5 )
+.It Fl a
+Enforce the check for an exported directory being a file
+system mount point, if the
+.Fl -alldirs
+option is specified in
+.Xr exports 5
+for the export file line.
+With this option, the exports line will fail, whereas
+without this option, a warning will be generated by
+.Xr syslog 8 ,
+but the export will be done.
 .It Fl d
 Output debugging information.
 .Nm
@@ -244,7 +255,8 @@ the current list of remote mounted file systems
 .Xr jail 8 ,
 .Xr nfsd 8 ,
 .Xr rpcbind 8 ,
-.Xr showmount 8
+.Xr showmount 8 ,
+.Xr syslog 8
 .Sh HISTORY
 The
 .Nm