From nobody Sun Sep 13 11:43:19 2026 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 4hjRHW41ldz6rXw2 for ; Sun, 13 Sep 2026 11:43:19 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hjRHW3X6tz4hMQ for ; Sun, 13 Sep 2026 11:43:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789299799; 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=AELwzZT1O6JrgbpCdx+qYa4Y6ldYVKg+3mGvR+WDSag=; b=QqhXWSsawBf/JfGWZTjtBNq2RdTcBK5+u3dGV/ZlJ6hsZt5b9qk2wLfpoyUVGP2oByqW94 EIBlgZsjiIO8NyCPwiPqDn+NqeoamYPpnAgtQsWe4ynWNsYfuXySJ1P5lS3M2MJLpxD7dD OIRIRYV3vGml+Cf3Ze9rh42wPPZqfdL0u8bq6Lwx77xybRa5c559ZU+HOqv6flimFelKMr beLgZkF+fBkMvdbh7B5DR7L2LX0z1N8Cb66dAmCi9aRTJhWyv3Iy9472ExEe87BFM5HW5H nI6ZkgARXuVofM9eS5uxX6XQXbtLz3wtK39CdT3QGQbdKkKV5ddX1ORgcRJCOA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789299799; b=DP+Hyk1UpM4/6oYYE+sWUQfpvZrDUGSKBpR+Eugn3B2S2urC14j8oc0aMEus/MHdvRzhpB UBKPgq1+Laz1kcR0CGKgo+dQW312ymDpl7n9WtHcbi3xTUPw2I935m8Yc0KdEpIzf0sjI1 RWRZPylqGYuZH0Z5tyKi9+/YUO/GPzp8bKMf/d9FLuHfmn4lW0aKCPQ0JpY85zsKI14dsv W0ZKs9z8RaL2yNM4kETfShLoEZgh1JFEF2aG7943scJFEuuiT36acAWhlXEy1fbN27xo5q mtgELjBfDzj6pFy67tnFhtTL/Ofba59Cdzr7ZcBrHOAmPuHx+B/MeqNznj5+cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789299799; 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=AELwzZT1O6JrgbpCdx+qYa4Y6ldYVKg+3mGvR+WDSag=; b=LcWAHF2kVT7No85AfPoHm+UN4J5INbtX4p5E5ASma37BFWRriOTtg7nWDZZ+2ZjnHiEZoS Bt8zpIQ4R2l0FRAGmJrMLSXNlg/uQwNQ7bIjMk0yDJMOoUl47DqTAQ7YyaupllD/UGMNve nX+8wfb7Z9PC1zsIj1783SERs9iTPZ2vvmyQcJw+KeMec9JLTIi5zbt1QL/Jaopx7iMV7U XPPfEs81iYfMAD10oYrs3Zd6OAlfTtAcztW+mkhPs/sNa1EXH7qx4Tm7oD4CdeSq+i0GQc 4ojrXc2lcL2Tmw9Iu/Drg9nkv7GdHYx57TDZB8E1eXCOOnZp6bo4v5BGy/PvsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hjRHW2Zd2zhjX for ; Sun, 13 Sep 2026 11:43:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3ef98 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 13 Sep 2026 11:43:19 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Ziaee Subject: git: 49b4137da6ea - main - chflags: Alias nocache to noucache for consistency 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 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: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 49b4137da6ea1443f9b166cd6204ae03cfe9cbd9 Auto-Submitted: auto-generated Date: Sun, 13 Sep 2026 11:43:19 +0000 Message-Id: <6aa68c57.3ef98.50609f63@gitrepo.freebsd.org> The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=49b4137da6ea1443f9b166cd6204ae03cfe9cbd9 commit 49b4137da6ea1443f9b166cd6204ae03cfe9cbd9 Author: Alexander Ziaee AuthorDate: 2026-09-13 11:42:51 +0000 Commit: Alexander Ziaee CommitDate: 2026-09-13 11:42:52 +0000 chflags: Alias nocache to noucache for consistency Event: EuroBSDcon 2026 Requested by: fuz Reviewed by: fuz, rmacklem Differential Revision: https://reviews.freebsd.org/D59588 --- bin/chflags/chflags.1 | 4 ++-- lib/libc/gen/strtofflags.c | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bin/chflags/chflags.1 b/bin/chflags/chflags.1 index 35553d4972c3..eb139e2e258d 100644 --- a/bin/chflags/chflags.1 +++ b/bin/chflags/chflags.1 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 26, 2026 +.Dd September 12, 2026 .Dt CHFLAGS 1 .Os .Sh NAME @@ -130,7 +130,7 @@ The following keywords are currently defined: .Bl -tag -offset indent -width ".Cm opaque" .It Cm arch , archived set the archived flag (super-user only) -.It Cm nocache +.It Cm nocache, noucache set the nocache flag (owner or super-user only) .It Cm nodump set the nodump flag (owner or super-user only) diff --git a/lib/libc/gen/strtofflags.c b/lib/libc/gen/strtofflags.c index 4c8d5c4030b6..a42d24b124ee 100644 --- a/lib/libc/gen/strtofflags.c +++ b/lib/libc/gen/strtofflags.c @@ -81,11 +81,10 @@ static struct { { "nousparse", 0, UF_SPARSE }, { "nosystem", 0, UF_SYSTEM }, /* Needed for some Linux cross-build that uses a stale stat.h. */ -#ifdef UF_NOCACHE { "nousystem", 0, UF_SYSTEM }, +#ifdef UF_NOCACHE + { "nocache", 1, UF_NOCACHE }, { "noucache", 1, UF_NOCACHE } -#else - { "nousystem", 0, UF_SYSTEM } #endif }; #define nmappings (sizeof(mapping) / sizeof(mapping[0]))