Date: Wed, 24 Apr 2002 22:59:34 +0800 From: "Michael Watson" <watsonmj@toomuch.com.au> To: "'Roman Neuhauser'" <neuhauser@mail.cz> Cc: <freebsd-questions@FreeBSD.org> Subject: RE: Existing Kernel Options Message-ID: <000301c1eba0$a6156800$6401a8c0@intranet.toomuch.com.au> In-Reply-To: <20020424150811.GN68044@roman.mobil.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
Thankyou for the advice. Unfortunately, it seems that the original shipped
kernel was not compiled with the INCLUDE_CONFIG_FILE option as the suggested
'strings -n 3 ...' command returned nothing.
Cheers
Michael
-----Original Message-----
From: Roman Neuhauser [mailto:neuhauser@mail.cz]
Sent: Wednesday, 24 April 2002 11:08 PM
To: Michael Watson
Cc: freebsd-questions@FreeBSD.org
Subject: Re: Existing Kernel Options
> From: "Michael Watson" <watsonmj@toomuch.com.au>
> To: <freebsd-questions@FreeBSD.org>
> Subject: Existing Kernel Options
> Date: Wed, 24 Apr 2002 22:34:52 +0800
>
> Hi All
>
> I am looking to do my first kernel build, so this may be a silly question
> but hopefully somebody can help.
>
> I don't think the kernel distributed on my CD-ROM was compiled with the
same
> kernel options as in the GENERIC configuration file. I don't want to lose
> any existing options when I build my new kernel.
>
> Is there a way to find out what kernel options the existing kernel was
> compiled with?
Depends. /sys/i386/conf/LINT:
# 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
--
FreeBSD 4.4-STABLE
5:07PM up 9 days, 6:19, 14 users, load averages: 0.09, 0.10, 0.08
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301c1eba0$a6156800$6401a8c0>
