Re: patches and uname -a



Thank you Ceri and Jaap for your time.

Ceri, edit src/sys/conf/newvers.sh and replace

BRANCH="RELEASE-p23"
with
BRANCH="RELEASE-p24"

would be enough??

Best regards.


Ceri Davies wrote:

On 12 Jan 2006, at 12:32, Roberto Nunnari wrote:

Hello.

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
5.3-RELEASE-p23

and:

# 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.

Ceri
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: patches and uname -a
    ... reports the current version of the system ... Today for the first time I applied all the relevant patches ... What if you recompile the kernel after ...
    (freebsd-questions)
  • Re: {Spam?} Re: patches and uname -a
    ... Ceri Davies wrote: ... reports the current version of the system ... Today for the first time I applied all the relevant patches ... What if you recompile the kernel after ...
    (freebsd-questions)
  • Re: Excellent news.. Malware for OS X!
    ... infect most applications. ... You cannot simply "catch" the virus. ... Which reports are you making up? ... you run a downloaded program the first time. ...
    (comp.sys.mac.advocacy)
  • RE: Help with multiple tables
    ... DON'T do you reports yet. ... database up and running 1st then then just look at the reports as a snapshot ... remember where to find the relationships window - then looked at the "table ... but this is the first time I've ever tried to make anything ...
    (microsoft.public.access.gettingstarted)
  • Even in Kuwait
    ... Kuwaiti women vote for the first time today, going to the polls to ... are women, reports BBC. ...
    (soc.men)