Linux modprobe命令

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

Linux modprobe命令用于自动处理可载入模块。

modprobe可载入指定的个别模块,或是载入一组相依的模块。modprobe会根据depmod所产生的相依关系,决定要载入哪些模块。若在载入过程中发生错误,在modprobe会卸载整组的模块。

语法

modprobe [-acdlrtvV][--help][模块文件][符号名称 = 符号值]

参数

  • -a或--all  载入全部的模块。
  • -c或--show-conf  显示所有模块的设置信息。
  • -d或--debug  使用排错模式。
  • -l或--list  显示可用的模块。
  • -r或--remove  模块闲置不用时,即自动卸载模块。
  • -t或--type  指定模块类型。
  • -v或--verbose  执行时显示详细的信息。
  • -V或--version  显示版本信息。
  • -help  显示帮助。

实例

安装软驱模块:

[root@ w3cschool.cc ~]# modprobe -v floppy 

卸载软驱模块:

[root@ w3cschool.cc ~]# modprobe -v -r floppy 
Computing Patterns in Strings

Computing Patterns in Strings

Bill Smyth / Addison Wesley / 2003 / $ 75.00

The computation of patterns in strings is a fundamental requirement in many areas of science and information processing. The operation of a text editor, the lexical analysis of a computer program, the......一起来看看 《Computing Patterns in Strings》 这本书的介绍吧!

图片转BASE64编码

图片转BASE64编码

在线图片转Base64编码工具

URL 编码/解码

URL 编码/解码

URL 编码/解码

HEX HSV 转换工具

HEX HSV 转换工具

HEX HSV 互换工具