Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2025 16:33:26 GMT
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9c215e77b29a - main - freebsd-version.8: Add back freebsd-update paragraph
Message-ID:  <202508061633.576GXQOv061855@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=9c215e77b29a7165fb2944118a69ab94e35357f0

commit 9c215e77b29a7165fb2944118a69ab94e35357f0
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-08-06 15:46:10 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-08-06 16:32:39 +0000

    freebsd-version.8: Add back freebsd-update paragraph
    
    Someone may be working on making a pkg backend for freebsd-update
    so we can keep it.
    
    This reverts commit e9792345d36c96dbb49f3ee996f75384a4cca532.
---
 bin/freebsd-version/freebsd-version.1 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/bin/freebsd-version/freebsd-version.1 b/bin/freebsd-version/freebsd-version.1
index 27ed69b38bc5..82ea9c707d69 100644
--- a/bin/freebsd-version/freebsd-version.1
+++ b/bin/freebsd-version/freebsd-version.1
@@ -75,6 +75,14 @@ version, next the userland version, and finally the userland version
 of the specified jails, on separate lines.
 If neither is specified, it will print the userland version only.
 .Sh IMPLEMENTATION NOTES
+The
+.Nm
+utility should provide the correct answer in the vast majority of
+cases, including on systems kept up-to-date using
+.Xr freebsd-update 8 ,
+which does not update the kernel version unless the kernel itself was
+affected by the latest patch.
+.Pp
 To determine the name (and hence the location) of a custom kernel, the
 .Nm
 utility will attempt to parse



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202508061633.576GXQOv061855>