From owner-freebsd-questions@FreeBSD.ORG Thu Dec 30 03:02:34 2004 Return-Path: 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 25E5116A4CE for ; Thu, 30 Dec 2004 03:02:34 +0000 (GMT) Received: from www.gotbrains.org (www2.gotbrains.org [206.180.149.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADC8743D48 for ; Thu, 30 Dec 2004 03:02:33 +0000 (GMT) (envelope-from clists@gotbrains.org) Received: from igor.gotbrains.org (eagle.spinneret.com [206.180.139.69]) by www.gotbrains.org (Postfix) with SMTP id C478F211C for ; Wed, 29 Dec 2004 21:02:32 -0600 (CST) Date: Wed, 29 Dec 2004 21:02:28 -0600 From: "Stephen P. Cravey" To: questions@freebsd.org Message-Id: <20041229210228.00b8e88d.clists@gotbrains.org> X-Mailer: Sylpheed version 1.0.0rc (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Determining version of uninstalled kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 03:02:34 -0000 Is there a facility for determining the version of a kernel that has been built but not installed? I am working on a script to pre-build new versions of FreeBSD by checking newvers.conf against uname, but i would also like to be able to verify that the version in /usr/obj is not the same as in newvers.conf. Otherwise, my script would just continue to rebuild everything needlessly. -Stephen