From owner-freebsd-questions@FreeBSD.ORG Thu Jan 12 14:26:22 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9072C16A41F for ; Thu, 12 Jan 2006 14:26:22 +0000 (GMT) (envelope-from roberto.nunnari@supsi.ch) Received: from mail3.ticino.com (mail3.ticino.com [195.190.166.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F72543D55 for ; Thu, 12 Jan 2006 14:26:20 +0000 (GMT) (envelope-from roberto.nunnari@supsi.ch) X-Spam-Score: 1 Received: from [192.168.1.6] (unverified [62.48.103.172]) by mail3.ticino.com (Rockliffe SMTPRA 6.1.22) with ESMTP id ; Thu, 12 Jan 2006 15:26:19 +0100 Message-ID: <43C6670E.5000500@supsi.ch> Date: Thu, 12 Jan 2006 15:26:22 +0100 From: Roberto Nunnari User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: it-ch, en-us, en MIME-Version: 1.0 To: Ceri Davies References: <43C64C52.9020209@supsi.ch> <8E000CF1-7D7E-4E63-8EE5-BB87BF9C44E8@submonkey.net> In-Reply-To: <8E000CF1-7D7E-4E63-8EE5-BB87BF9C44E8@submonkey.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: "'freebsd-questions@freebsd.org'" Subject: Re: patches and uname -a X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 14:26:22 -0000 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