O'Reilly logo

Linux® Desk Reference, Second Edition by Scott Hawkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commands

depmod

[ -a ]

depmod

[ -a version ]

depmod

module1.o module2.o …

modprobe

module.o [symbol=value …]

modprobe

-t tag pattern

modprobe

-a -t tag pattern

modprobe

-l [ -t tag ] pattern

modprobe

-r module

modprobe

-c

The depmod and modprobe commands are used to manage a modular Linux kernel.

The depmod command is used to create a Makefile-esque dependency (modules.dep) file, based on the symbols it finds in the set of modules mentioned in the command line. The resultant file can be used by modprobe to automatically load the relevant modules.

Modprobe will load modules in one of two ways:

  • It will attempt to load all the modules in a list and stop as soon as one of them uccessfully loads (useful for loading a single device driver)

  • It can load ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required