git: 3ac1af1c0f07 - stable/14 - mound.8: Document the new -a command line option

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Sun, 19 Jan 2025 23:58:50 UTC
The branch stable/14 has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=3ac1af1c0f07dbef049d42830732979ee35b3618

commit 3ac1af1c0f07dbef049d42830732979ee35b3618
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2024-12-28 21:30:56 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2025-01-19 23:58:13 +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
    
    (cherry picked from commit 6db916d21a09aebf3e7cb5c95e2ad714ab2b8882)
---
 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 3eff5d598fe7..015f54729fdf 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 April 8, 2024
+.Dd December 16, 2024
 .Dt MOUNTD 8
 .Os
 .Sh NAME
@@ -37,7 +37,7 @@
 mount requests
 .Sh SYNOPSIS
 .Nm
-.Op Fl 2AdelnRrS
+.Op Fl 2AadelnRrS
 .Op Fl h Ar bindip
 .Op Fl p Ar port
 .Op Ar exportsfile ...
@@ -72,6 +72,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
@@ -235,7 +246,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