Linux modprobe命令

Linux 教程 · 2019-02-17 12:14:32

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 

点击查看所有 Linux 教程 文章: https://codercto.com/courses/l/14.html

查看所有标签

High Performance Python

High Performance Python

Micha Gorelick、Ian Ozsvald / O'Reilly Media / 2014-9-10 / USD 39.99

If you're an experienced Python programmer, High Performance Python will guide you through the various routes of code optimization. You'll learn how to use smarter algorithms and leverage peripheral t......一起来看看 《High Performance Python》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具