From owner-freebsd-questions@FreeBSD.ORG Thu Dec 30 03:11:21 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 B76C916A4CE for ; Thu, 30 Dec 2004 03:11:21 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.199.47.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89CA843D55 for ; Thu, 30 Dec 2004 03:11:21 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 6E29D51194; Wed, 29 Dec 2004 19:11:18 -0800 (PST) Date: Wed, 29 Dec 2004 19:11:18 -0800 From: Kris Kennaway To: "Stephen P. Cravey" Message-ID: <20041230031118.GA50520@xor.obsecurity.org> References: <20041229210228.00b8e88d.clists@gotbrains.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline In-Reply-To: <20041229210228.00b8e88d.clists@gotbrains.org> User-Agent: Mutt/1.4.2.1i cc: questions@freebsd.org Subject: Re: 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:11:21 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Dec 29, 2004 at 09:02:28PM -0600, Stephen P. Cravey wrote: > 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. Try strings or ident. Kris --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB03HVWry0BWjoQKURAoFnAKCWJOpMZ3NGjI9TxWY4a8XNR+TFpACg4BSs hIrlrI0ldOnVEo2OHqH80Ps= =/WtV -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--