Date: Sun, 29 Feb 2004 09:11:38 -0500 (EST) From: Dan Langille <dan@langille.org> To: Danny Braniss <danny@cs.huji.ac.il> Cc: freebsd-hackers@freebsd.org Subject: Re: kernel options Message-ID: <20040229090905.G75461@xeon.unixathome.org> In-Reply-To: <20040229095512.GA96276@xor.obsecurity.org> References: <E1AxNNY-0007wX-2S@cs.huji.ac.il> <20040229095512.GA96276@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040229090905.G75461>