Team LiB
Previous Section Next Section

Generating Module Dependencies

The Linux module utilities understand dependencies. This means that module chum can depend on module bait and when you load the chum module, the bait module is automatically loaded. This dependency information must be generated. Most Linux distributions generate the mapping automatically and keep it up to date on each boot. To build the module dependency information, as root simply run

depmod

To perform a quick update, rebuilding only the information for modules newer than the dependency information itself, run as root

depmod -A

The module dependency information is stored in the file /lib/modules/version/modules.dep.

    Team LiB
    Previous Section Next Section