博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

Creatory

Y(^_^)Y I hope someday we can meet on the road =^_^=
   creatory.cublog.cn
关于作者  
姓名:creatory
职业:Embedded-Linux
年龄:22
格言:努力就有可能成功
院校:SDUST
联系我:creatory@mail.com
creatory@163.com

我的分类  




Restrict modules loaded automatically
Let ubuntu load modules automatically when it starts up,just modify the /etc/modules file and add the modules which you want to load at start time.
The file on my machine like this:
//contents starts here
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
//contents ends here
Also,you can add your own module names to load it automatically.You can add the character of '#' at the beginning lines which modules you don't like to load it at start time.In other words,this operation is just to restrict some modules automatically loads.
Well,you can also write a script file which is started by init and contains the modprobe/insmod command.But this is dirty and unnecessary.

 发表于: 2008-05-07,修改于: 2008-05-07 19:06 已浏览35次,有评论0条 推荐 投诉

  网友评论

  发表评论



Copyright © 2001-2006 ChinaUnix.net All Rights Reserved

感谢所有关心和支持过ChinaUnix的朋友们
页面生成时间:0.00931

京ICP证041476号