From nobody Tue Sep 09 00:55:19 2025 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cLQN75Pt1z67Lbp; Tue, 09 Sep 2025 00:55:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cLQN74kGHz3d6s; Tue, 09 Sep 2025 00:55:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757379319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YfIHtGkVMZ0NUp/IpZVE9Dc7fTpuQRayPeJU3UY7GrE=; b=k3u6P2kQgFxADdqotzuUT7WVDg/N0t0n0p/8F0XNDWNYFEBf7PnHyUnm0B/bzCdeP4VR35 kUByWC7Lbdgn597O7OZdvXmcD1u1Z1+rqrLMYmSt+Dykut/zixV0eTSDAdX+ctc9Lyytti 7fMGdELl+yiDkwUaT8ohcRaXxrn1K+Uv6NyrjpscOyiRB9i7TU630QuU8jTQDhBjfBN1OG 3h08feDhz1sROoeV8YZQyUp4+91+xKhbyWUJMBL6rSlue3G5lyRTQjGEZaDOxzSBKgrYLX sCfH/rNGz8iJ/PGNP+hyQSNlgwiF/Bv4+7Y3iXYPFNeCSTwLCLhD5Z0lgTge1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757379319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YfIHtGkVMZ0NUp/IpZVE9Dc7fTpuQRayPeJU3UY7GrE=; b=hC1ut4OEJLIE+aJRvbp6/8B5BQY3NRYkpMvmbfGXoig3dy9OwMQVQxx/CD/2ZmbmaUhUku sKC1yARzIrGdEhBvtE7sBQy8uGJMn3zudaR5vxKQhHB01uDHELpBgx20iuJ16SXWLrOQEr IwVcW6b9GDhY7+VZozvaIlOJxcx9qlw0A2fkueJkYdhKvQkROgIh207QpIkiDBxlwCZZ3W nlnZY84/ogr9AQ2sOAS1+mXebsnbayzYbDZkN84UWD6YXRqSlEJb9brttXb39V9PvYXRxF j9d2cXSB95u/VPcruEZs/LAEzJ66GJ1H1OxhP2Hld7bW57LEj6uF6Sq8gp30ng== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757379319; a=rsa-sha256; cv=none; b=oZ55Yo4y9my1UKyjo08l2G2ia7R7aXMgbQkO3npXTVBQurO5Nlx6PmervDWhzmteMofe3a jPC43i/9C/f/mUG9mhwwV6FGf/gBU1rO7NzU9nnM3kOlVmTLta5thtLuQuaXDvrAxHcG0Z IlSEvWBcGP55pX71UURnugLarjh3Z99KbmPo5o6yH1LR07tq7rJTCb79NVitf+vv6VhUns sAy9FRKH2ueF3dYuHttv7NcIw4OwIqrqRSI76dPZy59nOxy1Jed2rNCihimQPcTGAs1Qi3 8FrtJ2IZ5rH6Z1oIO8K1lxlmtkVK3yS0wsp1ermYCfMJPzcV7MXaOJcWEjljuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cLQN73yX1z1SPd; Tue, 09 Sep 2025 00:55:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5890tJtX047472; Tue, 9 Sep 2025 00:55:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5890tJW4047469; Tue, 9 Sep 2025 00:55:19 GMT (envelope-from git) Date: Tue, 9 Sep 2025 00:55:19 GMT Message-Id: <202509090055.5890tJW4047469@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Rick Macklem Subject: git: caf162412dbc - stable/14 - exports.5: Add a paragraph clarifying the use of "V4:" List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: caf162412dbc74e71ca2ac02e2a8a96e5e086f47 Auto-Submitted: auto-generated The branch stable/14 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=caf162412dbc74e71ca2ac02e2a8a96e5e086f47 commit caf162412dbc74e71ca2ac02e2a8a96e5e086f47 Author: Rick Macklem AuthorDate: 2025-08-26 01:38:54 +0000 Commit: Rick Macklem CommitDate: 2025-09-09 00:52:16 +0000 exports.5: Add a paragraph clarifying the use of "V4:" The exports.5 man page is a bit of a monster. One place of common confusion is the use of the "V4:" line(s) for defining the location of the root of the NFSv4 export subtree. This patch adds a paragraph in an attempt to clarify this. This is a content change. (cherry picked from commit 200730f29dbc8da2aa9392b35518bf77b8899f89) --- 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 b8f0e93aec8a..4c8e90635cb2 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 December 16, 2024 +.Dd August 24, 2025 .Dt EXPORTS 5 .Os .Sh NAME @@ -150,6 +150,19 @@ characters. Mount points for a file system may appear on multiple lines each with different sets of hosts and export options. .Pp +Note that, for NFSv4 exporting, there must be both one or more ``V4:'' line(s) +and one or more line(s) exporting the file systems that are to be +exported to NFSv4 clients. +If there are multiple ``V4:'' lines, these lines must all specify the +same root directory path, but with different options for different +clients. +These line(s) do not export any file system, but simply define the +location of the ``root'' of the NFSv4 export subtree. +The line(s) exporting the file systems should always +specify the pathname of the root of a server file system +and must include at least one line exporting the file system +which is specified as the ``root'' by the ``V4:'' line(s). +.Pp The second component of a line specifies how the file system is to be exported to the host set. The option flags specify whether the file system