曲径通幽论坛

 找回密码
 立即注册
搜索
查看: 4947|回复: 0
打印 上一主题 下一主题

modinfo -- 显示某个模块信息

[复制链接]

4918

主题

5880

帖子

3万

积分

GROAD

曲径通幽,安觅芳踪。

Rank: 6Rank: 6

积分
34397
跳转到指定楼层
楼主
发表于 2010-12-30 23:21:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
modinfo 用来查看某个内核模块的详细信息,普通用法一般就在该命令后接模块名,它会列出模块许多有用的信息,包括这个模块的作者,用途,授权方式,依赖关系,以及使用参数等,如:
# modinfo pci_hotplug
filename:       /lib/modules/2.6.34-12-desktop/kernel/drivers/pci/hotplug/pci_hotplug.ko
license:        GPL
description:    PCI Hot Plug PCI Core
author:         Greg Kroah-Hartman <greg@kroah.com>, Scott Murray <scottm@somanetworks.com>
srcversion:     D417B5812781066E6B381C9
depends:
vermagic:       2.6.34-12-desktop SMP preempt mod_unload modversions 686
parm:           debug_acpi:Debugging mode for ACPI enabled or not (bool)
parm:           debug:Debugging mode enabled or not (bool)
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|曲径通幽 ( 琼ICP备11001422号-1|公安备案:46900502000207 )

GMT+8, 2025-6-18 03:59 , Processed in 0.086205 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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