linux下如何查看当前内核的配置?

linux下如何查看当前内核的配置?

答: zcat /proc/config.gz

     当然有个前提条件,需要打开内核的以下两个选项(CONFIG_IKCONFIG和CONFIG_IKCONFIG_PROC):

  General setup --->

  <*> Kernel .config support

  [ * ]  Enable access to .config through /proc/config.gz

你可能感兴趣的:(Liunx,/,debug)