From 9c215e77b29a7165fb2944118a69ab94e35357f0 Mon Sep 17 00:00:00 2001 From: Alexander Ziaee Date: Wed, 6 Aug 2025 11:46:10 -0400 Subject: [PATCH] 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 27ed69b38bc..82ea9c707d6 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