Linux modinfo命令

更新时间: 2019-10-16 12:40

Linux modinfo命令用于显示kernel模块的信息。

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
Web Development Recipes

Web Development Recipes

Brian P. Hogan、Chris Warren、Mike Weber、Chris Johnson、Aaron Godin / Pragmatic Bookshelf / 2012-1-22 / USD 35.00

You'll see a full spectrum of cutting-edge web development techniques, from UI and eye candy recipes to solutions for data analysis, testing, and web hosting. Make buttons and content stand out with s......一起来看看 《Web Development Recipes》 这本书的介绍吧!

HTML 压缩/解压工具

HTML 压缩/解压工具

在线压缩/解压 HTML 代码

正则表达式在线测试

正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具

HEX HSV 转换工具

HEX HSV 互换工具