Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

depmod

Synopsis

depmod [options] modules

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 that the correct module dependencies will be available after booting the system.

Options

-a, --all

Create dependencies for all modules listed in /etc/modules.conf.

-A, --quick

Check timestamps and only update the dependency file if anything has changed.

-b dir, --basedir dir

Specify a base directory to use instead of /lib/modules.

-C file, --config file

Use the specified configuration file instead of /etc/modules.dep. May also be set using the MODULECONF environment variable.

-e, --errsyms

Print a list of all unresolved symbols.

-F file, --kernelsyms file

Use the specified kernel symbol file to build dependencies. Usually this is either a copy of a system’s System.map file or the output of /proc/ksyms.

-h, --help

Print help message, then exit.

-n, --dry-run, --show

Write dependency file to standard output instead of writing to module directory.

-q, --quiet

Don’t display error messages about missing symbols.

-r, --root

Allow root to load modules not owned by root.

-s, --syslog

Write error messages to the syslog daemon instead of to standard error.

-v

Print a list of all processed modules.

-V, --version

Print version number.

Files

/etc/modules.dep, /etc/depmod.d

Information about modules: ...

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.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page