From owner-freebsd-stable@FreeBSD.ORG Fri Jan 1 17:37:35 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34599106566B for ; Fri, 1 Jan 2010 17:37:35 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id E19AA8FC17 for ; Fri, 1 Jan 2010 17:37:34 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NQlRL-0007ql-FV for freebsd-stable@freebsd.org; Fri, 01 Jan 2010 18:37:31 +0100 Received: from 200.41.broadband11.iol.cz ([90.178.41.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jan 2010 18:37:31 +0100 Received: from gamato by 200.41.broadband11.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Jan 2010 18:37:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: martinko Date: Fri, 01 Jan 2010 18:37:10 +0100 Lines: 43 Message-ID: References: <4B3C7C13.9090507@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 200.41.broadband11.iol.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.6) Gecko/20091220 SeaMonkey/2.0.1 In-Reply-To: <4B3C7C13.9090507@gmail.com> Sender: news Subject: Re: uname(1) does not show system is patched via freebsd-update(8) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jan 2010 17:37:35 -0000 Manolis Kiagias wrote: > On 31/12/2009 11:40 π.μ., martinko wrote: >> Hallo, >> >> The system here seems to be patched yet I do not see the information >> in uname(1) output (see below). Is this a bug or my error or what ? >> >> Cheers, >> >> Martin >> > > This is normal. The patch level shown is not updated, unless one of the > following applies: > > 1. You are running a GENERIC kernel *and* the kernel was updated as part > of the freebsd-update patching process (This was not the case with > 8.0-RELEASE-p1, these patches did not affect the kernel) > 2. You rebuild your kernel after the update (you may rebuild GENERIC or > your own custom kernel). Assuming you have the sources installed, > freebsd-update will update them along with the binaries. The patch level > is in the file /usr/src/sys/conf/newvers.sh. Check it out and you will > see a line "BRANCH=RELEASE-p1". This is what will be used if you rebuild > your kernel. > > Keep in mind that if the sole purpose of this is to have the patch level > info handy, you may simply override the value returned by uname -r using > i.e. the following: > > export UNAME_r=8.0-RELEASE-p1 > > but you have to remember to keep this synchronized with the actual patch > level :) > Thanks for the explanation! It all make sense now. Still I believe that correct info should be displayed by uname(1) somehow now that we have binary updates available. Regards, Martin