Check out my first novel, midnight's simulacra!

Kernel config: Difference between revisions

From dankwiki
(New page: * In FreeBSD 7.0 and up, <tt>sysctl -b kern.conftxt</tt> will produce the kernel config, while <tt>config -x</tt> will extract it from a kernel file * Linux kernels with CONFIG_IKCONFIG se...)
 
m (1 revision)
 
(No difference)

Latest revision as of 07:32, 28 January 2009

  • 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