Solved question about freebsd version ?

dear all ;
please see below line :
Code:
game@notepad:~ $ uname -a
FreeBSD notepad.edu.xxx 14.2-RELEASE-p1 FreeBSD 14.2-RELEASE-p1 GENERIC amd64
game@notepad:~ $ freebsd-version
14.2-RELEASE-p2
game@notepad:~ $
why the output is not same ? please help me .thanks.
 
Last patch update only updated a userland part, nothing in the kernel. So the kernel still has the 'old' version. freebsd-version(8) will show the userland version by default. uname(1) shows the kernel version.

Code:
     If several of the above options are specified, freebsd-version will print
     the installed kernel version first, then the running kernel 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.

p2 fixed an issue with OpenSSH: https://www.freebsd.org/security/advisories/FreeBSD-SA-25:05.openssh.asc
 
  • Like
Reactions: mro
Last patch update only updated a userland part, nothing in the kernel. So the kernel still has the 'old' version. freebsd-version(8) will show the userland version by default. uname(1) shows the kernel version.

Code:
     If several of the above options are specified, freebsd-version will print
     the installed kernel version first, then the running kernel 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.

p2 fixed an issue with OpenSSH: https://www.freebsd.org/security/advisories/FreeBSD-SA-25:05.openssh.asc
Dear sirdice:
thanks for your help . problem was solved by your reply. thanks.
 
Back
Top