From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 29 06:11:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD29516A4CE for ; Sun, 29 Feb 2004 06:11:39 -0800 (PST) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 810DF43D1D for ; Sun, 29 Feb 2004 06:11:39 -0800 (PST) (envelope-from dan@langille.org) Received: from xeon (xeon.unixathome.org [192.168.0.18]) by bast.unixathome.org (Postfix) with ESMTP id 97A3F3D40; Sun, 29 Feb 2004 09:11:38 -0500 (EST) Date: Sun, 29 Feb 2004 09:11:38 -0500 (EST) From: Dan Langille X-X-Sender: dan@xeon.unixathome.org To: Danny Braniss In-Reply-To: <20040229095512.GA96276@xor.obsecurity.org> Message-ID: <20040229090905.G75461@xeon.unixathome.org> References: <20040229095512.GA96276@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: kernel options X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 14:11:39 -0000 On Sun, 29 Feb 2004, Kris Kennaway wrote: > On Sun, Feb 29, 2004 at 11:36:56AM +0200, Danny Braniss wrote: > > hi, > > is there a way of knowing with which kernel-options a particular kernel > > was compiled with (appart form the obvious config file)? > > In general, no. I have read about an option to include the configuration file with the kernel. From my 4.9-stable /usr/src/sys/i386/conf/LINT file: # This allows you to actually store this configuration file into # the kernel binary itself, where it may be later read by saying: # strings -n 3 /kernel | sed -n 's/^___//p' > MYKERNEL # options INCLUDE_CONFIG_FILE # Include this file in kernel Not useful unless you've used it, which is not the default case. -- Dan Langille - BSDCan: http://www.bsdcan.org/