Linux in a Nutshell, Third Edition
by Ellen Siever, Stephen Spainhour, Jessica P. Hekman, Stephen Figgins
Name
depmod
Synopsis
depmod [options] modules
Description
System administration command. Create a dependency file for the modules given on the command line. This dependency file can be used by modprobe to automatically load the relevant modules. The normal use of depmod is to include the line /sbin/depmod -a in one of the files in /etc/rc.d so the correct module dependencies will be available after booting the system.
Options
- -a
Create dependencies for all modules listed in /etc/conf.modules.
- -d
Debug mode. Show all commands being issued.
- -e
Print a list of all unresolved symbols.
- -v
Print a list of all processed modules.
Files
- /etc/conf.modules
Information about modules: which ones depend on others, and which directories correspond to particular types of modules.
- /sbin/insmod, /sbin/rmmod
Programs that depmod relies on.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access