From nobody Fri Oct 24 09:51:54 2025 X-Original-To: dev-commits-src-branches@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 4ctJ8V6CJpz6Dyd0; Fri, 24 Oct 2025 09:51:54 +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 4ctJ8V4F6Wz3bFn; Fri, 24 Oct 2025 09:51:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761299514; 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=5u0QMMX/8fJQh99DGsjw9WTRS+PkS57Ch62wH3e+M7s=; b=piK8tDUTzFINdrD/SY7rodej1XpCCsP9/B8LTSqMDVjyiMj5Sw/FtU+huGbwhwgcP1q1Be L4NGE1XnLVnd4Dc20T2UQkRSu12lUiDMLtQebn0yhFqFS1dcNEjp6YipflGfm6IIO+4dxI T6uNRh0tHaftBFv7SNYub1Uf//zl3g6TNMVI5ebYdHt065Wq8hR34r9iljPcEFKXqa4xsS LLz4UPEKxOOFWgGsx27xWVHuaS4EkT6KfLgFna7AOw4mk0mDIOLXYfT/zUui4UohUB7+rj Uc34oWzvhjg6YLoqvwwEC3+g7H/xjsZUCqh8wZ9T/JyNt2Bhh5zCH85uw75Xmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761299514; 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=5u0QMMX/8fJQh99DGsjw9WTRS+PkS57Ch62wH3e+M7s=; b=swPGdDnAgjVAqv4lcJiIHQiRXgFX91DVY0OsXnaq6y301/K38od9jEisF6ADNnxKblvQrW x9aLt7poSYG3HyOl5eXvrvxcWkkgaUkBbTe5OJ1AKPogNpauS7f6XUSkH71TwUT/f4QS11 7SwWbqMdv8+fGJGHEPEcjTNc4DeWUDVfPd6FBd/je7reLZ6rBphsZLl2n3bLWJVSCh13dc gcfIJGNRhq9NJRKvDRLf+jjj0lML+3n/fXSbbKBEZ+MBNMEMaGVo06DTtx/MRpnZWHgYwz 0ZRZOwgs1WEpLz20NswczeHushQ50qD9N9WBalfRuw058n0rigvsY7l9dgI2PQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761299514; a=rsa-sha256; cv=none; b=oo/X8SRa+K+qGUyIW1MZgJ/L1HwArybs/JI/HRP9Imuqc0Xii3Lb9VFhshN9v9f8fqIAGO fG0TxkUYKdNPAMZu8gaxUqu1VXdbjjwgks/Ws5qz6ZC5bkyCM7saZLZchJ0QezMv4sQRqZ TjbU4uwOu15a13o+s7qgD+DhSVicLG6YUhliKbVQF1IrgCZtnBM1qPiSq7uT9ZWdJOp8MK bp4wWzxtu7HEWE8X6JoRjr5DHUksGbZUwaf+G3uv2keuO3a+/8FdpThiqxSLgOMhKa7x5k P5PXPgS2WJOPBCN4LcupJNELax4IKo3gUQaN60fx5WpXBdJinJe0EmfiNdpcqQ== 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 4ctJ8V3ZXRzwHw; Fri, 24 Oct 2025 09:51:54 +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 59O9pseM088782; Fri, 24 Oct 2025 09:51:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59O9psYq088779; Fri, 24 Oct 2025 09:51:54 GMT (envelope-from git) Date: Fri, 24 Oct 2025 09:51:54 GMT Message-Id: <202510240951.59O9psYq088779@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: a714ea2827b8 - stable/14 - mount_nullfs.8: document unixbypass and nounixbypass List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: a714ea2827b889f834b18f5f24384f39474611e5 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a714ea2827b889f834b18f5f24384f39474611e5 commit a714ea2827b889f834b18f5f24384f39474611e5 Author: Konstantin Belousov AuthorDate: 2025-10-09 20:55:01 +0000 Commit: Konstantin Belousov CommitDate: 2025-10-24 09:47:37 +0000 mount_nullfs.8: document unixbypass and nounixbypass (cherry picked from commit 033587a985a46e9d45fc3fb48a78754d81f0d50d) --- sbin/mount_nullfs/mount_nullfs.8 | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/sbin/mount_nullfs/mount_nullfs.8 b/sbin/mount_nullfs/mount_nullfs.8 index 68ff6beb8eaf..ea4f5a53c1d3 100644 --- a/sbin/mount_nullfs/mount_nullfs.8 +++ b/sbin/mount_nullfs/mount_nullfs.8 @@ -92,7 +92,7 @@ See the .Xr mount 8 man page for possible options and their meanings. Additionally the following option is supported: -.Bl -tag -width nocache +.Bl -tag -width nounixbypass .It Cm nocache Disable metadata caching in the null layer. Some lower-layer file systems may force this option. @@ -100,6 +100,32 @@ Depending on the access pattern, this may result in increased lock contention. .It Cm cache Force enable metadata caching. +.It Cm nounixbypass +Disable bypassing +.Xr unix 4 +socket files used for +.Xr bind 2 +and +.Xr connect 2 , +to the lower (mounted-from) filesystem layer. +.Pp +The effect is that lower and upper (bypassed) unix sockets +are separate. +.It Cm unixbypass +Enable the bypass of unix socket file to lower filesystem layer. +This is default. +.Pp +The effect is that +.Xr bind 2 +and +.Xr connect 2 +operations on a unix socket done from either the upper (nullfs) or lower +layer path are performed on same unix socket. +For instance, if a server +.Xr bind 2 +is done on a socket in the lower layer, then +.Xr connect 2 +on the socket file accessed via the nullfs mount, connects to the server. .El .El .Pp