[Ukfreebsd] uname -r issue
james at netinertia.co.uk
Fri Jun 19 23:11:32 BST 2015
On Fri, Jun 19, 2015 at 06:46:51AM +0000, O'Connor, Kevin wrote:
> So basically the documentation in the hand book is wrong when it
> states "However, freebsd-update will always update
> /usr/src/sys/conf/newvers.sh. The current patch level, as indicated by
> the -p number reported by uname -r, is obtained from this file".
I suppose this falls down to semantics.
freebsd-update will update newvers.sh when you have the src components
installed. uname -r does indeed obtain the patch level from that file.
The ambiguity is that freebsd-update updating newvers.sh won't
necessarily affect uname -r if there weren't any kernel updates - or if
you didn't manually recompile the kernel.
Historically (pre-freebsd-update) the userland and kernel were generally
guaranteed to be the same because patching involved recompiling from
source and it was always advised to update kernel and world at the same
More information about the Ukfreebsd