diff --git a/usr.sbin/mountd/exports.5.sav b/usr.sbin/mountd/exports.5 --- a/usr.sbin/mountd/exports.5.sav +++ b/usr.sbin/mountd/exports.5 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd December 21, 2023 +.Dd March 25, 2024 .Dt EXPORTS 5 .Os .Sh NAME @@ -623,6 +623,13 @@ server mount point. It is recommended that all exported directories within the same server file system be specified on adjacent lines going down the tree. +Note that when any directory within a server's local file system +is exported, those exports apply to the entire file system and not +just the subtree below the specified exported directory. +As such, to avoid confusion with respect to what is exported, +it may be prudent to limit exported directories to server +local file system mount points. +.Pp You cannot specify a hostname that is also the name of a netgroup. Specifying the full domain specification for a hostname can normally circumvent the problem.