Kernel config

From dankwiki
Revision as of 03:32, 28 January 2009 by WikiSysop (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
  • 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