From nobody Sat Dec 28 21:32:15 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 4YLFv34Kbhz5jDwL; Sat, 28 Dec 2024 21:32:15 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLFv33qszz45n7; Sat, 28 Dec 2024 21:32:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735421535; 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=++h6bYuonAplIt3BJKrq+VKPGJZACkkF+LIq8Qq4+pw=; b=E8ZgwqbvELKsb2nVjGmCbBfpHGAA459ZaeAVaMYcnbTAbz0srqaLVl7lceiViRX/PFEeQ0 bd+xHXU0jxY6KVHSa1Wl60PX6pPSPoxxYNZBttCDx4xD3VZ3J09DUNz8HgMpAE9lgpogF5 uvzmHYSuFAsNMQcp0UiQElBI7Fh8ES2or0JEodykUnjj2KRZ4nptBfiozEDexYJrBypDjl HIzP+UOqFZyUt0JQMZEBAf+Awx5tuKAy8+NCBJWhEpgMoKEUhg+iuM1CbzhUYta0S/VBed NPrQvXD5z/lDEvuzb/iOq5Ba/tMeedQBML9vRI4tiX94K3lx543LoNKkIN0GdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735421535; 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=++h6bYuonAplIt3BJKrq+VKPGJZACkkF+LIq8Qq4+pw=; b=WeheTvgUPTv9ptgyX+XoLVaKNPmrJzjUUYdpthGSsJ+Z2VT+et/4+V6Sn5vG49x2gtbKBl aaS71s52uTmmiXApqZyAylcFg+YXiZ2AxRUPeBNa3B8CA7J9IcHn32aBRiem3JGw0K27fG wVD8JmPihKBAYjp/AiZdujHsHXYg0NxpSGQPqBND+b0luEKToJOqEw2dGHhb/AMc1eKsJ7 zsNGmdq4qlh/l98Zez1uFOPiuW8gOO4ceZ9XUIP5jKR927CnF4IL8sXusjTr7JLBhRz2Xm WjktRkG691Scs7o5oho9z1HZyDdPMjxG6TwD5h8z9mPqa2Le3oAvmTNYmTutfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735421535; a=rsa-sha256; cv=none; b=GfHctnLdvCLcV65VfBQINsUs4T7lJx57R341G7t9isVH7oBd+0v5YJ4Frgc3zg9BI2TQC3 CpalyNnuLtCK1AOCfbF73wWsSbWYKqDMeVcMmSV+rq+MCGweguOnOMdENNp1yrYrd+qbfa X9pYv1V/XGN52HrtlKlEADuZq02mOmICcdm8Tpx3BtJPmBLjROxoDbC4WJtq9Wwj1LSV/R b9RS93fLgYopkzh6sXWilpJoxKDXTQv2C1KnpcOQhCMYKU6zl5R2CITr21BXhabRaOwrRP ua9PrRQ6RchbTwXeo8XdY5tdeeBlLUtf8o3u4aSSIjB8zpHhWBuO1aq1WXoGjA== 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 4YLFv33R9lzhXs; Sat, 28 Dec 2024 21:32:15 +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 4BSLWFdd036324; Sat, 28 Dec 2024 21:32:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BSLWFeG036321; Sat, 28 Dec 2024 21:32:15 GMT (envelope-from git) Date: Sat, 28 Dec 2024 21:32:15 GMT Message-Id: <202412282132.4BSLWFeG036321@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: 6db916d21a09 - main - mound.8: Document the new -a command line 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-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: 6db916d21a09aebf3e7cb5c95e2ad714ab2b8882 Auto-Submitted: auto-generated The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=6db916d21a09aebf3e7cb5c95e2ad714ab2b8882 commit 6db916d21a09aebf3e7cb5c95e2ad714ab2b8882 Author: Rick Macklem AuthorDate: 2024-12-28 21:30:56 +0000 Commit: Rick Macklem CommitDate: 2024-12-28 21:30:56 +0000 mound.8: Document the new -a command line option Commit 07cd69e272da adds a new "-a" mountd option. This patch updates the man page for it. This is a content change. PR: 282995 Reviewed by: gbe (manpages) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D48138 --- usr.sbin/mountd/mountd.8 | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/usr.sbin/mountd/mountd.8 b/usr.sbin/mountd/mountd.8 index 5c5717063f15..5ff9894b1d7a 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 July 5, 2024 +.Dd December 16, 2024 .Dt MOUNTD 8 .Os .Sh NAME @@ -35,7 +35,7 @@ mount requests .Sh SYNOPSIS .Nm -.Op Fl 2AdelNnRrSs +.Op Fl 2AadelNnRrSs .Op Fl h Ar bindip .Op Fl p Ar port .Op Ar exportsfile ... @@ -70,6 +70,17 @@ actually exports the entire local file system and not just the subtree below the directory exported. (See .Xr exports 5 ) +.It Fl a +Enforce the check for an exported directory being a file +system mount point, if the +.Fl -alldirs +option is specified in +.Xr exports 5 +for the export file line. +With this option, the exports line will fail, whereas +without this option, a warning will be generated by +.Xr syslog 8 , +but the export will be done. .It Fl d Output debugging information. .Nm @@ -244,7 +255,8 @@ the current list of remote mounted file systems .Xr jail 8 , .Xr nfsd 8 , .Xr rpcbind 8 , -.Xr showmount 8 +.Xr showmount 8 , +.Xr syslog 8 .Sh HISTORY The .Nm