QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 999|回复: 9

怎么知道系统自动加载了什么模块?和已经加载了什么模块?

[复制链接]
发表于 2003-7-2 19:23:07 | 显示全部楼层 |阅读模式
谢谢?
发表于 2003-7-2 21:13:45 | 显示全部楼层
lsmod can show the module, but if u already compile it into kernel, then no way. since it is always loaded
回复

使用道具 举报

 楼主| 发表于 2003-7-3 08:03:50 | 显示全部楼层
[quote:2ff183dbd2="Dragonfly"]lsmod can show the module, but if u already compile it into kernel, then no way. since it is always loaded[/quote]


也就是说 “lsmod ” 只能显示手工加载的模块,不能显示编译到了内核的模块是吗?
回复

使用道具 举报

发表于 2003-7-3 10:32:39 | 显示全部楼层
yes, of course, if u compile it into kernel, u load it every time.  
回复

使用道具 举报

发表于 2003-7-3 10:54:18 | 显示全部楼层
各位老大,
请问 insmod 和 modprobe 好像都是加载模块的?
有什么区别呢?

另外我很想知道关于模块加载、卸载的相关命令的说明,
以及类似 ldconfig 这样的系统命令的相关说明?
请问哪里有这样的文章?
万分谢谢!!!
回复

使用道具 举报

发表于 2003-7-3 12:20:30 | 显示全部楼层
关于insmod 和 modprobe ,你可以参考
$man insmod 和$man modprobe,里面说得很清楚。

关于模块加载和卸载的东西,你可以在公社里搜索一下,如果不满意,可以去www.baidu.com或www.google.com,我想你应该可以找到相关的资料。
回复

使用道具 举报

 楼主| 发表于 2003-7-3 15:55:58 | 显示全部楼层
那么编译到内核的模块,有没有办法知道阿?
回复

使用道具 举报

 楼主| 发表于 2003-7-3 16:01:49 | 显示全部楼层
那么编译到内核的模块,有没有办法知道阿?
回复

使用道具 举报

发表于 2003-7-3 16:46:23 | 显示全部楼层
好像没有办法。呵呵!
回复

使用道具 举报

发表于 2003-7-3 20:47:48 | 显示全部楼层
check u .config file. the only u choose as Y is a possible one
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-18 15:36 , Processed in 0.057279 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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