Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 1999 00:14:24 -0800
From:      Shawn Ramsey <shawn@cpl.net>
To:        Leo Kliger <leo@astea.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: kernel conf
Message-ID:  <19990201001424.B25490@cpl.net>
In-Reply-To: <199902010653.RAA03478@astea.com.au>; from Leo Kliger on Sun, Jan 31, 1999 at 05:48:35PM %2B1100
References:  <199902010653.RAA03478@astea.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On %M 0, Leo Kliger <leo@astea.com.au> wrote:
> Hi,
> i want to recompile my kernel but i don't have the original conf file.....
> is there a command which gets the kernel to spit out the settings
> with which it was compiled??? or am i just an eager young hopeful
> <smile>....
> thanks
> Leo

IF you compiled the kernel in questions with :

options         INCLUDE_CONFIG_FILE

You can do this command on the kernel to get the config file :

strings /kernel |grep ^___ | sed -e 's/^___//'


Other than that, your on your own. :)


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?19990201001424.B25490>