modprobe 和 dkms 有什么区别?

Oma*_*med 9 modprobe dkms

菜鸟问题在这里......我读到了有关 modprobe 和 dkms 的信息,在我看来他们做同样的事情,那么有什么区别呢?

rav*_*ery 19

探头

加载并运行内核模块

公里数

从源代码编译并安装指定内核的内核模块(如果未指定,则为当前正在运行的内核。

在启动时自动加载模块

编辑文件 /etc/modules。添加要在每行加载一个的每个模块。

示例文件内容:

# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

fuse
lp
sbp2
cpufreq_userspace
powernow-k8
Run Code Online (Sandbox Code Playgroud)

  • 添加了有关如何自动加载模块的说明 (3认同)