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 ...

Get Linux® Desk Reference, Second 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.