aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2024-04-09 01:58:40 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2024-04-16 03:01:13 +0000
commit936c6d5c9618610ff4f3a39349f3d16ecd3169c1 (patch)
tree8c20e5eacae70b8539306ea167564e81a534215a
parenta0456d357896da6c9e0c9b507ce8ad9930012d7e (diff)
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)
-rw-r--r--usr.sbin/mountd/mountd.814
1 files 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