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://www.codercto.com/courses/l/14.html

查看所有标签

Traction: A Startup Guide to Getting Customers

Traction: A Startup Guide to Getting Customers

Gabriel Weinberg、Justin Mares / S-curves Publishing / 2014-8-25 / USD 14.99

Most startups end in failure. Almost every failed startup has a product. What failed startups don't have is traction -- real customer growth. This book introduces startup founders and employees to......一起来看看 《Traction: A Startup Guide to Getting Customers》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具