The branch main has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=9c215e77b29a7165fb2944118a69ab94e35357f0
commit 9c215e77b29a7165fb2944118a69ab94e35357f0 Author: Alexander Ziaee <zi...@freebsd.org> AuthorDate: 2025-08-06 15:46:10 +0000 Commit: Alexander Ziaee <zi...@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