.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "MODULES.DEP" "5" "13 October 2008" "" "" .SH NAME modules.dep \- List of module dependencies .SH "DESCRIPTION" .PP The \fImodules.dep\fR as generated by module-init-tools \fBdepmod\fR, lists the dependencies for every module in the directories under \fI/lib/modules/\fR\fIversion\fR, where \fImodules.dep\fR is. .PP 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. .PP For example, if \fI/lib/modules/2.5.53/kernel/a.ko\fR depended on \fIb.ko\fR and \fIc.ko\fR in the same directory, and \fIc.ko\fR depended on \fIb.ko\fR as well, the file might look like: .nf # This is a comment. /lib/modules/2.5.53/kernel/a.ko: /lib/modules/2.5.53/kernel/c.ko /lib/modules/2.5.53/kernel/b.ko /lib/modules/2.5.53/kernel/b.ko: /lib/modules/2.5.53/kernel/c.ko: /lib/modules/2.5.53/kernel/b.ko .fi .PP This file is used by \fBmodprobe\fR to know the order to load modules (they are loaded right to left, and removed left to right). .SH "COPYRIGHT" .PP This manual page Copyright 2002, Rusty Russell, IBM Corporation. .SH "SEE ALSO" .PP \fBmodprobe\fR(8)