Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我创建了一个 module.ko 和一个使用该模块的目标文件 a.out。有人知道我在启动时如何加载它们吗?
depmod
modprobe -a
您的发行版可能有一个配置文件来列出系统启动时必须加载的所有内核模块。尝试man 5 modules检查它是如何工作的。否则,请检查名为 /etc/modules 的文件或操作系统的文档。
man 5 modules