开发者

loading module and object files automatically on booting

开发者 https://www.devze.com 2023-02-09 01:37 出处:网络
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开发者_如何学运维 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

精彩评论

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