From nobody Sat Sep 24 07:57:55 2022 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 4MZLwg4L7Kz4clBv; Sat, 24 Sep 2022 07:57:55 +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 4MZLwg3qBjz3c8v; Sat, 24 Sep 2022 07:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664006275; 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=RLQPxIZY2YSuiMgngWTmS5Iz3sNuA0MkiBrRN5Kfm6c=; b=Ag+4dNqH/XQ71WmiOzzaBKBeGShS/50uXVF2y3fmdbn/0apoDRZ3sShrXxFEwZX+1T4rsA rfnfzJtoRhBWfVmJmry9kV7C27bT49KJJCwXm90OoN4o62V6SnyBuKNGO8Bd/ImgyTzQtr y/gxBKuc8EihL20vdQiJ0FtvicF2OCjt2JpHdntljskVV0imEd0bE29qiz3PqGzTuDt/+k 2tC0U2az8wJ+gV697re/H6c052FEnk9866Ucg3fgdU9w789j07L1cbTSy091wmRGkathhj xpNdlidJqqCRSV6h5hVK4nVSzjaRRDubTCXblss/tIw2IBB1PywNiXbyUgacCg== 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 4MZLwg2c3rz11fP; Sat, 24 Sep 2022 07:57:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28O7vtHM001996; Sat, 24 Sep 2022 07:57:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28O7vtix001995; Sat, 24 Sep 2022 07:57:55 GMT (envelope-from git) Date: Sat, 24 Sep 2022 07:57:55 GMT Message-Id: <202209240757.28O7vtix001995@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: e267c40181bf - stable/13 - uname.1: Clarify the -r 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e267c40181bf71927bd9df8ee6f3019e8ffd8743 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664006275; 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=RLQPxIZY2YSuiMgngWTmS5Iz3sNuA0MkiBrRN5Kfm6c=; b=Sk6xaV078YN0I0flsvIE/1C5+VuYrCOq7tlB16jiO3L8dxk1N2XkO8EQSidgzaGGmUX3An Vn8Nk6v8K0LjGJSDW9ZXIKHVSw8ZcZIWhgRtxAbfsP/8iCAkFhcH0unbNj/uN90pXS05oH 49YrssZJMn3I1JAZIPvdFvR7v2jkqbrdR2/Odq9km+bSu5xHmCgrCMl3UYjf5VYFGxAdi/ 4LuZ5oj4TSfEObgTGgOwmPhhPwrUSvnNqgJeDSf1HnVtv5rAX+ad+oP2p7XvqN1EfX2yr+ FbZsHg0cM0NLwL8Z9yfV6GaLrpuFyC+e8HaCU0cGzFISaOXsQ2Icy0d3S5CoNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664006275; a=rsa-sha256; cv=none; b=KURRnsCXzLXiA9/xIh0opy1nKMfELf4lJ8D+LVHNipZ3azGP2F2yHnxco60+LHvxTugO8U 8mn9KFmrxpovClIBxTQ8IdkfUcCSNil8AoMGdVB4tZqTnpbWdsogIYODtIysZIHJPpK5l6 09Q8PDz7JUcgpA4OUKZgogC99AIcHcDRcrpc7u2JdkmCxL5ZpD5sMumVNFpd2jqEELQUAl CNa56CQRzhZMVHEHTHBo9pk3sZiybzP4s0y2VRz24ZydKhwnKMZqGm5Xk3/SPtI6WsJnTK X43anpA1EySBHGvDeuOoP51NJreUqcgpbARB0emwazbd42IoZiezgxFl5h/j4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=e267c40181bf71927bd9df8ee6f3019e8ffd8743 commit e267c40181bf71927bd9df8ee6f3019e8ffd8743 Author: Gordon Bergling AuthorDate: 2022-09-16 11:27:54 +0000 Commit: Gordon Bergling CommitDate: 2022-09-24 07:57:44 +0000 uname.1: Clarify the -r option It is some times hard to understand the difference between kernel version and userland version. So clarify the -r option of uname(1) in terms of a printed kernel version. While here, add some cross references: - cross reference freebsd-version(1) in uname(1) - cross reference freebsd-version(1) and uname(1) in freebsd-update(8) PR: 265594 Reported by: rwatson Reviewed by: gbe, imp Differential Revision: https://reviews.freebsd.org/D36516 (cherry picked from commit 8f98a937ed726399b89e87e95769a9adc809281a) --- usr.bin/uname/uname.1 | 7 +++++-- usr.sbin/freebsd-update/freebsd-update.8 | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/usr.bin/uname/uname.1 b/usr.bin/uname/uname.1 index a29e7ec2d8af..ff1b3ec5f3f2 100644 --- a/usr.bin/uname/uname.1 +++ b/usr.bin/uname/uname.1 @@ -28,7 +28,7 @@ .\" @(#)uname.1 8.3 (Berkeley) 4/8/94 .\" $FreeBSD$ .\" -.Dd November 13, 2020 +.Dd September 14, 2022 .Dt UNAME 1 .Os .Sh NAME @@ -82,8 +82,10 @@ uses it to set the variable. .Pc .It Fl r -Write the current release level of the operating system +Write the current release level of the kernel to standard output. +.Xr freebsd-version 1 +can be used to print the release level of the userland. .It Fl s Write the name of the operating system implementation to standard output. .It Fl U @@ -138,6 +140,7 @@ and would return .Va powerpc64 . .Sh SEE ALSO +.Xr freebsd-version 1 , .Xr feature_present 3 , .Xr getosreldate 3 , .Xr sysctl 3 , diff --git a/usr.sbin/freebsd-update/freebsd-update.8 b/usr.sbin/freebsd-update/freebsd-update.8 index 6d7fc792c6f1..3b56d64660a2 100644 --- a/usr.sbin/freebsd-update/freebsd-update.8 +++ b/usr.sbin/freebsd-update/freebsd-update.8 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 22, 2022 +.Dd September 10, 2022 .Dt FREEBSD-UPDATE 8 .Os .Sh NAME @@ -256,6 +256,8 @@ Default location where stores temporary files and downloaded updates. .El .Sh SEE ALSO +.Xr freebsd-version 1 , +.Xr uname 1 , .Xr freebsd-update.conf 5 , .Xr nextboot 8 .Sh AUTHORS