build: Build tests in a separate directory
[mit.git] / doc / modules.dep.sgml
blob961e081808a52190838c39c546f5b6ca5d8fb59b
1 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2 <!ENTITY debian "<productname>Debian GNU/Linux</productname>">
3 <!ENTITY docbook "<productname>DocBook</productname>">
4 <!ENTITY sgml "<abbrev>SGML</abbrev>">
5 ]>
7 <!-- Stolen from manual page for docbook-to-man, DocBook source file
8 (C) 1999 W. Borgert debacle@debian.org
10 $Id: docbook-to-man.sgml,v 1.8 2002/04/27 15:28:02 debacle Exp $ -->
12 <refentry>
13 <refentryinfo>
14 <address>
15 <email>rusty@rustcorp.com.au</email>
16 </address>
17 <author>
18 <firstname>Rusty</firstname>
19 <surname>Russell</surname>
20 </author>
21 <date>2002-12-27</date>
22 </refentryinfo>
23 <refmeta>
24 <refentrytitle>modules.dep</refentrytitle>
25 <manvolnum>5</manvolnum>
26 </refmeta>
27 <refnamediv>
28 <refname>modules.dep</refname> <refpurpose>List of module dependencies</refpurpose>
29 </refnamediv>
30 <refsect1>
31 <title>DESCRIPTION</title>
33 <para>
34 The <filename>modules.dep</filename> as generated by
35 module-init-tools <command>depmod</command>, lists the
36 dependencies for every module in the directories under
37 <filename>/lib/modules/</filename><replaceable>version</replaceable>,
38 where <filename>modules.dep</filename> is.
39 </para>
40 <para>
41 Blank lines, and lines starting with a '#' (ignoring spaces) are
42 ignored. Other lines are of the form "filename: [filename]*",
43 listing the complete dependencies for the first filename in
44 descending order.
45 </para>
46 <para>
47 For example, if
48 <filename>/lib/modules/2.5.53/kernel/a.ko</filename> depended on
49 <filename>b.ko</filename> and <filename>c.ko</filename> in the
50 same directory, and <filename>c.ko</filename> depended on
51 <filename>b.ko</filename> as well, the file might look like:
52 </para>
53 <screen>
54 # This is a comment.
55 /lib/modules/2.5.53/kernel/a.ko: /lib/modules/2.5.53/kernel/c.ko /lib/modules/2.5.53/kernel/b.ko
56 /lib/modules/2.5.53/kernel/b.ko:
57 /lib/modules/2.5.53/kernel/c.ko: /lib/modules/2.5.53/kernel/b.ko
58 </screen>
59 <para>
60 This file is used by <command>modprobe</command> to know the
61 order to load modules (they are loaded right to left, and
62 removed left to right).
63 </para>
64 </refsect1>
65 <refsect1>
66 <title>COPYRIGHT</title>
67 <para>
68 This manual page Copyright 2002, Rusty Russell, IBM Corporation.
69 </para>
70 </refsect1>
71 <refsect1>
72 <title>SEE ALSO</title>
74 <para>
75 <citerefentry>
76 <refentrytitle>modprobe</refentrytitle><manvolnum>8</manvolnum>
77 </citerefentry>
78 </para>
79 </refsect1>
80 </refentry>
82 <!-- Keep this comment at the end of the file
83 Local variables:
84 mode: sgml
85 sgml-omittag:t
86 sgml-shorttag:t
87 sgml-minimize-attributes:nil
88 sgml-always-quote-attributes:t
89 sgml-indent-step:2
90 sgml-indent-data:t
91 sgml-parent-document:nil
92 sgml-default-dtd-file:nil
93 sgml-exposed-tags:nil
94 sgml-local-catalogs:nil
95 sgml-local-ecat-files:nil
96 End:
97 -->