.\\" auto-generated by docbook2man-spec $Revision: 1.1 $
.TH "MODULES.DEP" "5" "2002-12-27" "" ""
.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.6.29/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:
.sp
.nf
# 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
    
.sp
.fi
.PP
This file is used by \fBmodprobe\fR to know the
order in which 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
\fBdepmod\fR(8),
\fBmodprobe\fR(8)
