开发者

loading module and object files automatically on booting

I开发者_如何学运维 have created a module.ko and a object file a.out that uses the module. Does someone know how I load them both on booting?

  • I did depmod to my module and then modprobe -a.
  • I think it damaged my system.


It is likely that your distro has a configuration file to list all kernel modules that must be loaded when the system boots. Try man 5 modules to check how it works. Otherwise check a file named /etc/modules, or the documentation of your OS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜