summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAlexander Ziaee <ziaee@FreeBSD.org>2025-08-06 11:46:10 -0400
committerAlexander Ziaee <ziaee@FreeBSD.org>2025-08-06 12:32:39 -0400
commit9c215e77b29a7165fb2944118a69ab94e35357f0 (patch)
treee076a0f1edd92fb116b7560e5a1cbdba921cc376 /bin
parente63297e1b61e4104ee51e4ed3e170cc2ed24ce38 (diff)
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.
Diffstat (limited to 'bin')
-rw-r--r--bin/freebsd-version/freebsd-version.18
1 files changed, 8 insertions, 0 deletions
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