From owner-freebsd-questions@FreeBSD.ORG Tue Nov 11 10:10:21 2003 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 8CC2516A4CE for ; Tue, 11 Nov 2003 10:10:21 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-234.dsl.lsan03.pacbell.net [63.207.60.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFDC843FA3 for ; Tue, 11 Nov 2003 10:10:20 -0800 (PST) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id F2AD766B4C; Tue, 11 Nov 2003 10:10:19 -0800 (PST) Date: Tue, 11 Nov 2003 10:10:19 -0800 From: Kris Kennaway To: sam2@taboo.homeip.net Message-ID: <20031111181019.GC26132@xor.obsecurity.org> References: <200311111755.hABHtUq6020964@PRIVATE> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2JFBq9zoW8cOFH7v" Content-Disposition: inline In-Reply-To: <200311111755.hABHtUq6020964@PRIVATE> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: How to determine the kernel options that are compiled in a running 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: Tue, 11 Nov 2003 18:10:21 -0000 --2JFBq9zoW8cOFH7v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Nov 11, 2003 at 10:55:30AM -0700, sam2@taboo.homeip.net wrote: > I've got a customized kernel but no KERNCONF file, how can I determine what options/devices were used when compiling the kernel? In general you can only do this if you compiled in a copy of your configuration file into your kernel with options INCLUDE_CONFIG_FILE (see the comment in NOTES/LINT for how to extract it again from the kernel). Kris --2JFBq9zoW8cOFH7v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/sSYLWry0BWjoQKURAoLJAJsE1yCqSgXzH0voW6qu+0CVbxrACQCg3XuX GdpW2S8cSB/eneuOXZo7DoQ= =bv+5 -----END PGP SIGNATURE----- --2JFBq9zoW8cOFH7v--