Date: Thu, 25 Apr 2002 18:53:07 +0800 From: "Michael Watson" <watsonmj@toomuch.com.au> To: <freebsd-questions@FreeBSD.org> Subject: FW: Existing Kernel Options Message-ID: <001401c1ec47$62e51ce0$6401a8c0@intranet.toomuch.com.au>
next in thread | raw e-mail | index | archive | help
> From: Roman Neuhauser [mailto:neuhauser@mail.cz] > Sent: Wednesday, 24 April 2002 11:40 PM > To: Michael Watson > Cc: freebsd-questions@FreeBSD.org > Subject: Re: Existing Kernel Options > > > > From: "Michael Watson" <watsonmj@toomuch.com.au> > > To: "'Roman Neuhauser'" <neuhauser@mail.cz> > > Cc: <freebsd-questions@FreeBSD.org> > > Subject: RE: Existing Kernel Options > > Date: Wed, 24 Apr 2002 22:59:34 +0800 > > Hi Michael, > please, don't top post. Makes it hard to follow longer threads. > > > > > 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 > > > > > > 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. > > Umm, and what made you think the kernel on the CD is not > built from > GENERIC? IIRC that's what it is. Hi Roman Sorry about top-posting, hopefully I've got it right now. The kernel I am running from the distribution CD includes the firewall (which I can enable using the firewall_enable="YES" option in my rc.conf file). The GENRERIC kernel configuration off the same distribution CD does NOT include the IPFIREWALL option. I don't know what other options might also be missing from GENERIC when I build my new kernel. I may end up compiling a kernel that does not work on my system. I would prefer to build a kernel that has all the options of my current one, plus a couple extra that I need to include. Don't know what IIRC is, sorry. Cheers Michael 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?001401c1ec47$62e51ce0$6401a8c0>