From nobody Tue Apr 16 03:02:06 2024 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 4VJTNH2Lhbz5HdD2; Tue, 16 Apr 2024 03:02:07 +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 4VJTNG5wxNz4PD2; Tue, 16 Apr 2024 03:02:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713236526; 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=1ioUW2dJqf5Vtj1LIWUXuBsKGleIvx0rUCwnigxOKPI=; b=wBFfVqZcZemYzdE5irr5zmUrVus+/CuGu3Z9H3A8Do9axe+ky+Mo0DMlZ8LNdyHM5k8+fQ HhbbMH1rkBq8+HeikD+MZ1Nj7MlKiBkhXNL7hV7C4R6jN8/NGbhpOVsVSSfb8taDrsVL7i CMDJvyNSAYu9VRCmxc9kBFTx8OmGWr/vuHPk792xokATfNWVVvDSSC4nq4250KiOfLgrj9 i6goFlbY+kSLWFO36dyNNHBZb7CjWiSaUSOA3G5+SbIE/0yXFGJYKH6n32Dl2KtmSkvknO eMcK79QToDyjt1+MlPKMZSwajv0xfsivcn3pT2RtJHUUu3n77kH93rsC4zWHVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713236526; a=rsa-sha256; cv=none; b=wa2nNF3RJPMplQaKyzeUFHh4TxtnHrWcBzrjFE1HR5GNTaJNLULMjcXBYI9hLvmGCFamrC SDgYen4jEgOvKrL/4hjDj+cPcwLV20sLp69brhCQLPWVciDqEMQvzQ3ZX6oeWj13QUVhAo 0iT18ooZAXWvsbY9DvT8TTYJfYZwMHiFMIF+241u7AAJzlYrWikvH27ICk7UyaRdCQktsR XWP2AgLPGIIGCFdkDYx50qHBsuf/SYKwESyAoBC2SqjAZa6RWs33TiaFg8SPMFyiwFnLyp Ki1ome4q02oxIS5nBurB2v7sx5EPgEx+ACBKE3Mxg+Y5AOndWckM2S1K29FSyA== 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=1713236526; 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=1ioUW2dJqf5Vtj1LIWUXuBsKGleIvx0rUCwnigxOKPI=; b=Yl1PISPg8LKmaL1N0PJ5cjvux5gXl1tYiFfRj7LLfaRVMvJcL/33kQm1VPhDdirBycw2j9 owYwhdFrUJxXP4rLmTf3CUdG5ceXViQa/Xq/Sr8dXAwhq/dl/UDKWoZtkg+Kexj0Vy4THs kf9DAWbcHF3ethv9TTYWQf34gV1qo8mrkeB486ZskyyJYr+8645a4nJsNDvgHI1H4Z0YBO zMxODtsJydUxqZ+NOLfO1LIirZdC7Q936BDQQsWjg3AqeOLrgLrW62QfTbLvhy/WkOAQOj lgta4SJeTgkOfolYcIEZd/UR5d2zd1ICaMUCJpqVa0BaLFCknfKAtJ1ipQSrcg== 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 4VJTNG5XSVzQn0; Tue, 16 Apr 2024 03:02:06 +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 43G3269X088646; Tue, 16 Apr 2024 03:02:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43G326Al088643; Tue, 16 Apr 2024 03:02:06 GMT (envelope-from git) Date: Tue, 16 Apr 2024 03:02:06 GMT Message-Id: <202404160302.43G326Al088643@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: 936c6d5c9618 - stable/14 - mountd.8: Document the new -A mountd option 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: 936c6d5c9618610ff4f3a39349f3d16ecd3169c1 Auto-Submitted: auto-generated The branch stable/14 has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=936c6d5c9618610ff4f3a39349f3d16ecd3169c1 commit 936c6d5c9618610ff4f3a39349f3d16ecd3169c1 Author: Rick Macklem AuthorDate: 2024-04-09 01:58:40 +0000 Commit: Rick Macklem CommitDate: 2024-04-16 03:01:13 +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. (cherry picked from commit cce11997a052549933ca1c4d7412bf51137e4d0b) --- 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 a8fa14d5df04..3eff5d598fe7 100644 --- a/usr.sbin/mountd/mountd.8 +++ b/usr.sbin/mountd/mountd.8 @@ -27,7 +27,7 @@ .\" .\" @(#)mountd.8 8.4 (Berkeley) 4/28/95 .\" -.Dd March 18, 2023 +.Dd April 8, 2024 .Dt MOUNTD 8 .Os .Sh NAME @@ -37,7 +37,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 ... @@ -62,6 +62,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