Linux内核模块管理与任务自动化调度指南
1. 内核模块信息查询与管理
在Linux系统中,内核模块的管理是一项重要的操作。我们可以使用 modinfo
命令来获取内核模块的详细信息。该命令的语法很简单,只需在 modinfo
后面跟上要查询的模块名称即可。
例如,要查询 bluetooth
内核模块的基本信息,可以输入以下命令:
kali >modinfo bluetooth
执行上述命令后,会输出如下信息:
filename: /lib/modules/4.19.0-kali-amd64/kernel/net/bluetooth/bluetooth.ko
alias: net-pf-31
license: GPL
version: 2.22
description:Bluetooth Core ver 2.22
author: Marcel Holtman <marcel@holtmann.org>
srcversion: 411D7802CC1783894E0D188
depends: rfkill, ecdh_generic, crc16
intree: Y
vermagic: 4.19.0-kali1-amd64 SMP mod_unload modversions
parm: disable_esco: Disable eSCO connection creation (bool)
parm: di