git: 2c83f1ada435 - stable/14 - mountd: Update exports.5 for commit 7c5146da1286

From: Rick Macklem <>
Date: Fri, 29 Dec 2023 23:17:40 UTC
The branch stable/14 has been updated by rmacklem:


commit 2c83f1ada4356e61b0a33314f3f02736d7a2fb14
Author:     Rick Macklem <>
AuthorDate: 2023-12-22 20:17:36 +0000
Commit:     Rick Macklem <>
CommitDate: 2023-12-29 23:16:16 +0000

    mountd: Update exports.5 for commit 7c5146da1286
    Commit 7c5146da1286 modified mountd so that it uses
    strunvis(3) to decode directory names in exports lines.
    This allows special characters, such as blanks, to be
    encoded in the directory names.
    This patch updates the exports.5 man page for this change.
    This is a content change.
    (cherry picked from commit 922e78f65fd9a58db9e52d84290ed7c187b09278)
 usr.sbin/mountd/exports.5 | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/usr.sbin/mountd/exports.5 b/usr.sbin/mountd/exports.5
index 56facef29a12..e394bb036046 100644
--- a/usr.sbin/mountd/exports.5
+++ b/usr.sbin/mountd/exports.5
@@ -27,7 +27,7 @@
 .\"     @(#)exports.5	8.3 (Berkeley) 3/29/95
-.Dd August 16, 2022
+.Dd December 21, 2023
@@ -108,6 +108,17 @@ any
 .Dq Pa ..
+Pathnames are decoded by
+.Xr strunvis 3
+allowing special characters to be included in the directory name(s).
+In particular, whitespace, such as embedded blanks in directory names
+can be handled.
+For example, a blank can be encoded as \(rs040.
+.Xr vis 1
+with the
+.Fl M
+option may be used to encode directory name(s) with embedded special
 Mount points for a file system may appear on multiple lines each with
 different sets of hosts and export options.
@@ -584,6 +595,8 @@ NFSv4 mount request for a directory that the client does not have
 permission for will succeed and read/write access will fail
 afterwards, whereas NFSv3 rejects the mount request.
+.Xr vis 1 ,
+.Xr strunvis 3 ,
 .Xr nfsv4 4 ,
 .Xr netgroup 5 ,
 .Xr mountd 8 ,