最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Linux modinfo命令详解 Linux modinfo命令怎么用
时间:2022-06-30 16:26:46 编辑:袖梨 来源:一聚教程网
modinfo会显示kernel模块的对象文件,以显示该模块的相关信息。
语法
modinfo [-adhpV][模块文件]
参数:
- -a或--author 显示模块开发人员。
- -d或--description 显示模块的说明。
- -h或--help 显示modinfo的参数使用方法。
- -p或--parameters 显示模块所支持的参数。
- -V或--version 显示版本信息。
实例
显示sg模块的信息。
# modinfo sg
filename: /lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/sg.ko
author: Douglas Gilbert
description: SCSI generic (sg) driver
license: GPL
version: 3.5.31 B0B0CB1BB59F0669A1F0D6B
parm: def_reserved_size:size of buffer reserved for each fd
parm: allow_dio:allow direct I/O (default: 0 (disallow))
alias: char-major-21-*
vermagic: 2.6.9-42.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4
depends: scsi_mod
相关文章
- Vivo Xplay3s评测:性能怎样? 07-22
- 山灵M2s开箱实录 07-22
- 漫蛙manwa2安装教程-漫蛙manwa2下载最新版 07-22
- GLFore声学成像仪初阶 07-22
- 耳机佩戴护耳小贴士 07-22
- 2010快男全国20强名单 07-22