Sponsored Links

Maxabout.com > Tips

Automatically Loading A Kernel Module During Boot.

Added on:8/27/2008 10:48:56 PM
In Linux Tips
 Rated by 1 users


  1. Copy the module under the /lib/modules/$(uname -r)/ directory.
    cp yourmodule.ko /lib/modules/$(uname -r)/.  depmod -a

  2. Note depmod will load all modules under /lib/modules/$(uname -r)/ provided it has a newer timestamp. So if something isn't getting loaded, you may want to touch the file.


Sponsored Links
Tools
Bookmark/Discuss