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

Mike Maltese mike at
Tue Nov 11 10:59:26 PST 2003

> I've got a customized kernel but no KERNCONF file, how can I determine
what options/devices were used when compiling the kernel?

Short of having INCLUDE_CONFIG_FILE in your kernel config at compile time as
Kris mentioned, kldstat -v can give you pretty good idea what's in there.

More information about the freebsd-questions mailing list