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

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

On Tue, Nov 11, 2003 at 10:55:30AM -0700, sam2 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list