答: zcat /proc/config.gz

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

  General setup --->

  <*> Kernel .config support

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

    

转载于:https://www.cnblogs.com/dakewei/p/10981261.html

Logo

更多推荐