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
Letting Go of the Words
Janice (Ginny) Redish / Morgan Kaufmann / 2007-06-11 / USD 49.95
"Redish has done her homework and created a thorough overview of the issues in writing for the Web. Ironically, I must recommend that you read her every word so that you can find out why your customer......一起来看看 《Letting Go of the Words》 这本书的介绍吧!