From nobody Tue Apr 09 01:59:51 2024 X-Original-To: dev-commits-src-main@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 4VD8Kg3XBNz5GKJy; Tue, 9 Apr 2024 01:59:51 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VD8Kg2vVjz4ngQ; Tue, 9 Apr 2024 01:59:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712627991; 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=cR7Qamv8sfSHf1716cFCeMCO/EBJeSzdNnQzE9vVVJg=; b=nTQKLc8iAUwPq2Cdd2XURUlc7oqkEFid4jAzNA1p5dc+Fd77UeFEFwo0y4LjysCvRs+7XM lUSjWquxjWNBpKXn7rNiDQr2ktXzOGjKHqUQA9P9if/F3pN59x8GxbblXbE5UZuy2aGPN8 sNLunZ++0ASn1HKMJThRwLoOGgeGwHtotfW+HSb9CI5cyZYTTqvmQhZZTDly8UFNrmGKB6 AIcFdRWjoDZPzwliWUISwYkTpPrOavBSMHkgLNBcvORqQiW5wvfFL+IgurkVZkFf6Boi5y cjZuGZwAd/euGsjlPQTkGY6iDc/CZBPidlOMLvZ2ri8ZCpTeiyxURLgnJCHF3g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712627991; a=rsa-sha256; cv=none; b=O3SvBsLfYSRO2wpYMMNd/NyvFNRLtqDYsrKkgj4nO22wBUVC37b31SQdejUfbzDyK0NTGC DVVVg7X/8B/Lh0EcBgajUd4c+JhlLReFMWimdtXW3LMtVZY4naPHhJpHC11Qd0964OyRVc mWAl3VejkuWCQu0stUUcFZXrsbdY0VbfNu7idh1JPdQ1ZM4frwVug1mvWgcz0/pdo+Srsh nchESCvjN+cMdERxHVQpdgCBkoAwDSNTqrE7BQhhIvvbBsNNDgReKx+LRCvHFtbYizDlcv 3rzWNfsH0egWx8hk4t+06lcb5flirMZJgIWSCJ1296EXNUgaLLEikEmUNXrIcA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712627991; 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=cR7Qamv8sfSHf1716cFCeMCO/EBJeSzdNnQzE9vVVJg=; b=p24wS5wXGIewPD/eNtcVmOHgorXt1JaECwtz1lENsRFK95v77PdOgEdsDVlEUpMG0Oh58c Bd9/Q6E7YoNNE06SBk4dVGaDWpaEQ+Wq4wj1rhIdn0qXqsyCJzJ5/MIeaT9hWEcaqQv9uE NH1k1JWUYxcNDYWIk14K8KAsAWto34iv7H7k9aIlzGmk9fexw6ET/4WKZG2qBpM5Ypghdi oKnUf8S6Ogl7Ziy6lWaI+NAct9PdKpL5YNiSTcklcWaY0JoRUvZdMqqw1gs4Jtx9Xs3H9z MO90lzmldDtn3sVUHVNFntraXg++JhK6BVPW88gEfqXIGiM2giK/Q5xCi19g6A== 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 4VD8Kg2NbJzb24; Tue, 9 Apr 2024 01:59:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4391xpd7001273; Tue, 9 Apr 2024 01:59:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4391xp5t001270; Tue, 9 Apr 2024 01:59:51 GMT (envelope-from git) Date: Tue, 9 Apr 2024 01:59:51 GMT Message-Id: <202404090159.4391xp5t001270@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: cce11997a052 - main - mountd.8: Document the new -A mountd option List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: cce11997a052549933ca1c4d7412bf51137e4d0b Auto-Submitted: auto-generated The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=cce11997a052549933ca1c4d7412bf51137e4d0b commit cce11997a052549933ca1c4d7412bf51137e4d0b Author: Rick Macklem AuthorDate: 2024-04-09 01:58:40 +0000 Commit: Rick Macklem CommitDate: 2024-04-09 01:58:40 +0000 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. Reviewed by: markj, pauamma_gundo.com (manpages) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D44692 --- usr.sbin/mountd/mountd.8 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/usr.sbin/mountd/mountd.8 b/usr.sbin/mountd/mountd.8 index de0e82e6f8c5..6528aa3c94a1 100644 --- a/usr.sbin/mountd/mountd.8 +++ b/usr.sbin/mountd/mountd.8 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd March 18, 2023 +.Dd April 8, 2024 .Dt MOUNTD 8 .Os .Sh NAME @@ -35,7 +35,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 ... @@ -60,6 +60,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