patches and uname -a
ceri at submonkey.net
Thu Jan 12 05:54:35 PST 2006
On 12 Jan 2006, at 12:32, Roberto Nunnari wrote:
> Please also answer to my mailbox as I'm not on the list.
> After upgrading by sources and build world, uname correctly
> reports the current version of the system
> Today for the first time I applied all the relevant patches
> instead and all went well. The box was 5.3-RELEASE-p23.
> The applied patches should correspond to 5.3-RELEASE-p24, but:
> # uname -r
> # sysctl kern.version
> kern.version: FreeBSD 5.3-RELEASE-p23 #0: Tue Jan 3 15:40:08 CET 2006
> I'd like to be able to see the correct version using
> 'uname -r'..
> Does anybody know how can you make uname report the
> real version? What if you recompile the kernel after
> patching the system? Would that do the trick?
Recompiling the kernel is the correct way to change the output of
uname(1), but before you do so, you should be aware that that patch
number is taken from the BRANCH variable in src/sys/conf/newvers.sh.
Check that it says "5.3-RELEASE-p24" before you waste time
recompiling the kernel.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060112/c26abd4e/PGP.bin
More information about the freebsd-questions