Man Page

Manual Section... (5) - page: modules.dep

 

NAME

modules.dep - List of module dependencies  

DESCRIPTION

The modules.dep as generated by module-init-tools depmod, lists the dependencies for every module in the directories under /lib/modules/version, where modules.dep is.

Blank lines, and lines starting with a '#' (ignoring spaces) are ignored. Other lines are of the form "filename: [filename]*", listing the complete dependencies for the first filename in descending order.

For example, if /lib/modules/2.6.29/kernel/a.ko depended on b.ko and c.ko in the same directory, and c.ko depended on b.ko as well, the file might look like:

# This is a comment.
/lib/modules/2.6.29/kernel/a.ko: /lib/modules/2.6.29/kernel/c.ko /lib/modules/2.6.29/kernel/b.ko
/lib/modules/2.6.29/kernel/b.ko:
/lib/modules/2.6.29/kernel/c.ko: /lib/modules/2.6.29/kernel/b.ko
    

This file is used by modprobe to know the order in which to load modules (they are loaded right to left, and removed left to right).  

COPYRIGHT

This manual page Copyright 2002, Rusty Russell, IBM Corporation.  

SEE ALSO

depmod(8), modprobe(8)


 

Index

NAME
DESCRIPTION
COPYRIGHT
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 15:27:47 GMT, June 11, 2010

Leave a Reply

You must be logged in to post a comment.