How to determine the kernel options that are compiled in a running kernel?

Kris Kennaway kris at obsecurity.org
Tue Nov 11 10:10:21 PST 2003


On Tue, Nov 11, 2003 at 10:55:30AM -0700, sam2 at taboo.homeip.net wrote:
> I've got a customized kernel but no KERNCONF file, how can I determine what options/devices were used when compiling the kernel?

In general you can only do this if you compiled in a copy of your
configuration file into your kernel with options INCLUDE_CONFIG_FILE
(see the comment in NOTES/LINT for how to extract it again from the
kernel).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031111/3eeba6db/attachment.bin


More information about the freebsd-questions mailing list