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.

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.