
這裡是菜鳥問題……我讀到了 modprobe 和 dkms,在我看來它們做同樣的事情,那麼有什麼區別呢?
答案1
模組探針
載入並運行核心模組
dkms
從指定核心的原始程式碼編譯並安裝核心模組(如果未指定,則為目前執行的核心)。
在啟動時自動載入模組
編輯文件/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