LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 673|回复: 3

MOD_BALCKLIST 和 MODULES里面加!有什么本质的区别?

[复制链接]
发表于 2009-1-2 01:00:54 | 显示全部楼层 |阅读模式
wiki里面说的没有完全看懂。
MOD_BLACKLIST This is an array of modules that you do not want to be loaded at bootup. For example, if you don't want that annoying PC speaker, you could blacklist the pcspkr module.

MODULES In this array you can list the names of modules you want to load during bootup without the need to bind them to a hardware device as in the modprobe.conf. Simply add the name of the module here, and put any options into the modprobe.conf if need be. Prepending a module with a bang ('!') will not load the module during bootup (this is not the same as MOD_BLACKLIST!), thus allowing to "comment out" certain modules if necessary. A benefit of specifying networking modules here is that ethernet cards covered by the listed modules will always be detected in the order the modules are listed. This prevents the dreaded interface confusion where your ethernet hardware is assigned to seemingly random interfaces after each boot. An even better way to handle this is using static interface labels by configuring udev appropriately, though.
发表于 2009-1-2 01:13:00 | 显示全部楼层
blacklist is deprecated!
回复 支持 反对

使用道具 举报

发表于 2009-1-3 01:27:04 | 显示全部楼层
MOD_BLACKLIST 是你不想启动的模块列表
回复 支持 反对

使用道具 举报

发表于 2009-1-3 10:03:58 | 显示全部楼层
BLACKLIST 顾名思义就是黑名单亚
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表