From nobody Tue Sep 9 01:01:59 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 4cLQWr0ndTz67LhV; Tue, 09 Sep 2025 01:02:00 +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 4cLQWr06P0z3f5W; Tue, 09 Sep 2025 01:02:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757379720; 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=7hvrdDkxwNvWWtEtgsja5VxX//zhpXbDSziy7SzL0o4=; b=xnVepfIfr7A8bRz5t0UK+yjRBpMaQ87sA1S6kNCNFAyNSmEYH/UKGx33yhM5LDwM37rzxy assBw77YFJnXtMlKjDLAuwB3eOliTpewy/34mzqLQ3wSJV6rmx2tFrIoVlwkraE85C3+Ey fHUfdL97y8RAjK8cImciuRrko1jY8IR/IWz+U+okycmrBovxPdTTcrp5QT8YaKHsdMj0UF 1f7HfOrvN090u7ceRZnEFwMD7IlpIZFC6NgkCGARrbjc7UhWOdOnOpKYYMI8+xkxCqppk0 zDfmmyzXMVm3TEQbxL7F4L5oVunPkXZTrG9jOdF2uARa7ylYy0XzlPRo6VxRKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757379720; 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=7hvrdDkxwNvWWtEtgsja5VxX//zhpXbDSziy7SzL0o4=; b=ZBIxeWVczeqy6mVF5J2HhnB6v+Ff3R9aTl3iRyjesBCbvfNnVfK/2+DlVcYYqyKIUBU156 Hdy2R9kUxd0MPswvM65QiAu/LhCQDiuy2NcdYAe2u+pTMPXISzlhoTWQu4guxl9SKYIU/4 futwfJc+gl03iq8QaMwcVQVYVZsW6Ty4yXXknsI3AgBY6q+spxj8/eMAXt3JAs7X0GS0Op 9FcybzQEqq0FeW47d4tj/AsyRcQaYILcJFxIzTqWUGBacidaJyRUsPHw2wDkALm6v/d6xg 9991/+eXbVZq9jxqiut+E6xm0by2dNThR1PXND2w6iezfCEwxMq/LVcAp/i8hg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757379720; a=rsa-sha256; cv=none; b=npfINprIMsEh2EBKVEyDCJR77M8kUzHaAckg/G1B7a//OhYdkoNTXf51kfYMYaW4ZI8nJi XUPKCjMHWbwqOTGn/dRifQGvNTfL+v6ng/6ujSM6lYZpSYsMH2ekpX9fqajDyQoX0PVPML rAHDowbkW3aL9CQtkygCoz+LTMdbxQdecukH3haiqlKRRfqNr5aBvIJLVi2UrL5T8kQwmT gwm6o4IddVJMftIOzQJDUJtPFtNZoS2r2onAyQ4PALAPxSp7cyVq2POA/ZdVVKdo39HJmP IW0HQz4ciSyV9OzvCUXLga46XgpeeGRmdi1vGszfCII6BCXfhb+hgjVdA6FuCA== 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 4cLQWq6Tnwz1S9m; Tue, 09 Sep 2025 01:01:59 +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 58911xkq063388; Tue, 9 Sep 2025 01:01:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58911xJE063380; Tue, 9 Sep 2025 01:01:59 GMT (envelope-from git) Date: Tue, 9 Sep 2025 01:01:59 GMT Message-Id: <202509090101.58911xJE063380@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: bda48373633c - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: bda48373633c4870f2963d62395fbb7a7ffa524a Auto-Submitted: auto-generated The branch stable/13 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=bda48373633c4870f2963d62395fbb7a7ffa524a commit bda48373633c4870f2963d62395fbb7a7ffa524a Author: Rick Macklem AuthorDate: 2025-08-26 01:38:54 +0000 Commit: Rick Macklem CommitDate: 2025-09-09 00:59:06 +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 dfbc16c28639..b1ecf16cfc8c 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 October 08, 2024 +.Dd August 24, 2025 .Dt EXPORTS 5 .Os .Sh NAME @@ -111,6 +111,19 @@ components. 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