我正在阅读的书如何描述insmod实用程序:
The program loads the module code and
data into the kernel,which,in turn,
performs a function similar to that of
ld,in that it links any unresolved
symbol in the module to the symbol
table of the kernel. Unlike the
linker,however,the kernel doesn’t
modify the module’s disk file,but
rather an in-memory copy.
看起来它不会持久,因为它在内存中,但我不确定.
解决方法
不,他们不会.重启后,您从头开始.
通常,对于每次重新启动后要加载的模块,都有一个配置文件,列出了在引导时自动加载的模块.
看看/ etc / modules.
人模块:
NAME /etc/modules - kernel modules to load at boot time DESCRIPTION The /etc/modules file contains the names of kernel modules that are to be loaded at boot time,one per line. Arguments can be given in the same line as the module name. Lines beginning with a '#' are ignored.