From owner-freebsd-questions@FreeBSD.ORG Fri May 16 08:47:07 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47559106566B for ; Fri, 16 May 2008 08:47:07 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.94]) by mx1.freebsd.org (Postfix) with ESMTP id AF3368FC1F for ; Fri, 16 May 2008 08:47:06 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from joshua.freebsdgr.org (athedsl-4377804.home.otenet.gr [79.130.60.188]) (authenticated bits=0) by rosebud.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id m4G8l346026536; Fri, 16 May 2008 11:47:03 +0300 Message-ID: <482D4A07.9080304@otenet.gr> Date: Fri, 16 May 2008 11:47:03 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.12 (X11/20080324) MIME-Version: 1.0 To: RJ45 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update question 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: Fri, 16 May 2008 08:47:07 -0000 RJ45 wrote: > > > hello, I have updated qith command freebsd-update > and hte command > > freebsd-update fetch > > shows me I have already hte latest patch level 7.0-RELEASE-p1 > > anyway uname -a shows me always 7.0-RELEASE #0 > > how can I do to have uname to show me the correct patch level ? > > thanks > > Rick > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > As another reader already said, this can be "fixed" by recompiling the kernel. In fact, you may notice that this file changes every time freebsd-update fetches new patches: /usr/src/sys/conf/newvers.sh This is responsible for giving your custom kernels the -p1, -p2 and so on designations. It is not however always necessary to recompile the kernel. Some updates do not really contain any changes to kernel code. For example, AFAIR, p1 for 7.0 RELEASE only had some updates for the ssh daemon. In this case recompiling the kernel will only give you the p1 designation, but nothing much else. However this is still useful for people maintaining a number of machines: They can quickly tell which ones are updated and which not.