Kernel config

From dankwiki
  • In FreeBSD 7.0 and up, sysctl -b kern.conftxt will produce the kernel config, while config -x will extract it from a kernel file
  • Linux kernels with CONFIG_IKCONFIG set can have their config extracted by scripts/extract-ikconfig
    • IKCONFIG can be built as a module (ikconfig.ko), so as not to consume memory unless needed
    • If CONFIG_IKCONFIG_PROC is set, the config can also be read from /proc/config.gz when ikconfig is loaded