m在内核配置文件中是什么意思? [英] What does m mean in kernel configuration file?

查看:542
本文介绍了m在内核配置文件中是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CONFIG_UNIX=m

我知道yn代表什么,但是m呢?

I know what y and n stand for,but what about m?

推荐答案

我认为,这与运行make config时的(y,n,m)提示符相同;在这种情况下,它将是模块".

I assume, this refers to the same as the (y,n,m) prompt when running make config; in that case it would be "module".

请注意,将Unix域套接字(CONFIG_UNIX)编译为模块可能不是一个好主意.许多系统组件和程序都依赖它们,并且如果那时模块尚未加载,则某些服务可能无法启动.

Note that compiling Unix domain sockets (CONFIG_UNIX) as module is probably not a good idea. A lot of system components and programs depend on them, and some services might fail to start up if the module has not been loaded at that time.

Linux内核中的大多数功能可以编译为("y")或省去("n"),并且大部分功能也可以编译为可加载模块.当您不确定将来是否需要某些功能时,这很有意义.

Most functionality in the Linux kernel can either be compiled in ("y") or left out ("n"), and much of it can also be compiled as a loadable module. This makes sense when you don't know for certain whether you will need some feature in the future.

如果您将其编译为模块,但事实证明它是必需的,它将起作用,但在此之前它不会膨胀内核.

If you compile it as module and it turns out that it is needed, it will work, but until then it will not bloat the kernel.

但是,将Unix域套接字配置为模块真的没有意义,因为几乎所有地方都需要它们(例如udev在启动时无法启动).

It does not, however, really make sense to configure Unix domain sockets as a module, because they are needed almost everywhere (e.g. udev will fail to launch at startup).

如果您知道仍然需要某些内容,则应为"y",而不是"m"

If you know you will need something anyway, that should be "y", not "m"

这篇关于m在内核配置文件中是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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