From nobody Thu Jul 30 02:53:39 2026 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 4h9Yg75qsDz6mQMF for ; Thu, 30 Jul 2026 02:53:39 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h9Yg73kKRz3Gkw for ; Thu, 30 Jul 2026 02:53:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785380019; 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=Qv1dWz0KEoKswUDnOuUaleVYvGqyRdIxyNUM15ajyI4=; b=xuAgzlI+oaWbUd2txzkt5RlDIiu/qD44S5tzE1iOBPdqLTUo9q8ZVLq4jQJkaIY4gC31NE q0SMwDqiZjlghDsIGVImxEXuz9mxuTAFQMO/JJkJcRi3AxNLhjQ3HGzBIDoo0cr/ZPtFkE ViyrztoIOYISDqRselU3/TMGiEKIy8NV/D+ygk3yZ7FZK0jOqgHjrzzgYIvhOQeVQC+VAw yiOJ8mfXxubBFQDxBybSD6c8eGncPoVDxDuCAedoST/KJkXpjeGYt8tUnlbN1CmXlTwWF8 5J9YVc0dCGD6+WusXodATzRfVrXy0wgv4kVAixHtYTi58UPU/tVInz7vWRsKWg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785380019; a=rsa-sha256; cv=none; b=BKhzmoOSGOJZqRjEJOOnwGC752QwvKUW/ipNoYE2tmoxv7D0DthOSvlLnoCWABCXfkf74H Sfktw5hz624r22EJ9VKIU4wbFlZx2JiAVLmhnMIsG3uuhPFFDxMyOsAmzgia6MxXliyB0L vgZcLQ1Jpjnc37UkLkDblDDpP3yLNEOnOujEagwxuk5aZpDg6UnMF+s8ZJHmRCjPBJO5IX kzr8VKtX9PND0EVxF7hvpSbRNaC7vR4dHk8bfc+AqiAib52MqTMsW/R2ZqsTb2wc48+nM8 OumtaUybaGjdj2ojp/hGN9raEgdDPeztxvBjzl2hrpSokUJ0S7h5YnEyZDaXZA== 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=1785380019; 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=Qv1dWz0KEoKswUDnOuUaleVYvGqyRdIxyNUM15ajyI4=; b=mes32blReE1xi2WdumHgv+/tzIDd9O9AIZ7fQ6oIRJVIVL4tJTwt14oBzgVb1hWrNDmTav Nl5hFwjgifD3t6eVOEcGdGb2d6IOK/9BvUoB6k4X4qlCGislDaudmn8SKeIhGxM3YILTKh 7NCdS5RDwJZ0zgeSS2hVX2+rFjlOTmApIPnug3mWHiE9fKVq04hAzpJ9LuWEx8fD9i0cgx O1/SrIxidyXutVodzxXP+KpR3SBonVGhIqJjqr+aWDSkK+AYKIJhloLossnAkVBevTAj9u /RLrsu9HiKXjqLPlShC6IlBHN7Bmo/qc8eity8WR9IKahFOAFmApXphmTcbiQQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h9Yg72B8Szv49 for ; Thu, 30 Jul 2026 02:53:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1c2c6 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 30 Jul 2026 02:53:39 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 361ee195955f - stable/15 - mknod.2: update the man page 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/15 X-Git-Reftype: branch X-Git-Commit: 361ee195955f492ce283b2bd8bd07d864b9f6b43 Auto-Submitted: auto-generated Date: Thu, 30 Jul 2026 02:53:39 +0000 Message-Id: <6a6abcb3.1c2c6.6e952ec@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=361ee195955f492ce283b2bd8bd07d864b9f6b43 commit 361ee195955f492ce283b2bd8bd07d864b9f6b43 Author: Konstantin Belousov AuthorDate: 2026-07-27 14:14:51 +0000 Commit: Konstantin Belousov CommitDate: 2026-07-30 02:50:49 +0000 mknod.2: update the man page PR: 297082 (cherry picked from commit 4090d103b0c31b44b269e0ccf758be5cfba3f60c) --- lib/libsys/mknod.2 | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/lib/libsys/mknod.2 b/lib/libsys/mknod.2 index f4327262b46b..7dd4985e9cb9 100644 --- a/lib/libsys/mknod.2 +++ b/lib/libsys/mknod.2 @@ -53,13 +53,20 @@ indicates a block or character special file, .Fa dev is a configuration dependent specification denoting a particular device on the system. -Otherwise, +Otherwise, if +.Fa mode +indicates the request to create a FIFO +.Pq see Xr mkfifo 2 +the +.Fa dev +argument must be zero. +For creating whiteouts, the .Fa dev -is ignored. +argument is ignored. .Pp The .Fn mknod -system call +system call, when called to create special files, requires super-user privileges. .Pp The @@ -132,10 +139,12 @@ The argument points outside the process's allocated address space. .It Bq Er EINVAL -Creating anything else than a block or character special -file (or a -.Em whiteout ) -is not supported. +Creating anything other than a block or character special +file, whiteout, or FIFO, is not supported. +.It Bq Er EINVAL +Non-zero +.Fa dev +specified when creating FIFO. .El .Pp In addition to the errors returned by the