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

答: zcat /proc/config.gz

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

  General setup --->

  <*> Kernel .config support

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

    

猜你喜欢

转载自www.cnblogs.com/dakewei/p/10981261.html
今日推荐