理解/ boot / config文件 [英] Understanding /boot/config file

查看:814
本文介绍了理解/ boot / config文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

/ boot / config- $ kernel_version 我看到类似的东西:

CONFIG_X86_TSC=y
CONFIG_CAN_TSCAN1=m

现在,我认为 y 代表 yes ,表示选项已设置。
但是 m

Now, I thought that y stood for yes, which means the option is set. But how about m?

推荐答案

Y = Module is compiled directly in kernel. 

注意:一些驱动程序应该随时都在内核功能中,例如 Unix域套接字(CONFIG_UNIX)其应为 Y

Notes: Some drivers should be ready all the time in kernel functionality, without them system can't function like Unix domain sockets (CONFIG_UNIX) which should be Y

N = Don't compile module in kernel. do nothing. 

注意:您可以选择是否要。

Notes: Its your choice whether you want it or not.

M = Compile module as loadable module. Kernel will load this module On **Demand**. 

注意:M表示可加载模块,他们不需要一直保持, code> Sound Driver ,您可以在播放音乐时加载。它将使您的系统更高效。

Notes: M means loadable module which they don't need to stay up all the time, Like Sound Driver which you can load when you want to play music. It will make your system more efficient.

这篇关于理解/ boot / config文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆