1 | <sect2>
|
---|
2 | <title>Contents</title>
|
---|
3 |
|
---|
4 | <para>
|
---|
5 | The Modutils package contains the depmod, genksyms, insmod,
|
---|
6 | insmod_ksymoops_clean, kerneld, kernelversion, ksyms, lsmod, modinfo,
|
---|
7 | modprobe and rmmod programs.
|
---|
8 | </para>
|
---|
9 |
|
---|
10 | </sect2>
|
---|
11 |
|
---|
12 | <sect2><title>Description</title>
|
---|
13 |
|
---|
14 | <sect3><title>depmod</title>
|
---|
15 |
|
---|
16 | <para>
|
---|
17 | depmod handles dependency descriptions for loadable kernel modules.
|
---|
18 | </para>
|
---|
19 |
|
---|
20 | </sect3>
|
---|
21 |
|
---|
22 | <sect3><title>genksyms</title>
|
---|
23 |
|
---|
24 | <para>
|
---|
25 | genksyms reads (on standard input) the output from gcc -E source.c
|
---|
26 | and generates a file containing version information.
|
---|
27 | </para>
|
---|
28 |
|
---|
29 | </sect3>
|
---|
30 |
|
---|
31 | <sect3><title>insmod</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | insmod installs a loadable module in the running kernel.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | </sect3>
|
---|
38 |
|
---|
39 | <sect3><title>insmod_ksymoops_clean</title>
|
---|
40 |
|
---|
41 | <para>
|
---|
42 | insmod_ksymoops_clean deletes saved ksyms and modules not accessed in
|
---|
43 | 2 days.
|
---|
44 | </para>
|
---|
45 |
|
---|
46 | </sect3>
|
---|
47 |
|
---|
48 | <sect3><title>kerneld</title>
|
---|
49 |
|
---|
50 | <para>
|
---|
51 | kerneld performs kernel action in user space (such as on-demand loading of
|
---|
52 | modules)
|
---|
53 | </para>
|
---|
54 |
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | <sect3><title>kernelversion</title>
|
---|
58 |
|
---|
59 | <para>
|
---|
60 | kernelversion reports the major version of the running kernel.
|
---|
61 | </para>
|
---|
62 |
|
---|
63 | </sect3>
|
---|
64 |
|
---|
65 | <sect3><title>ksyms</title>
|
---|
66 |
|
---|
67 | <para>
|
---|
68 | ksyms displays exported kernel symbols.
|
---|
69 | </para>
|
---|
70 |
|
---|
71 | </sect3>
|
---|
72 |
|
---|
73 | <sect3><title>lsmod</title>
|
---|
74 |
|
---|
75 | <para>
|
---|
76 | lsmod shows information about all loaded modules.
|
---|
77 | </para>
|
---|
78 |
|
---|
79 | </sect3>
|
---|
80 |
|
---|
81 | <sect3><title>modinfo</title>
|
---|
82 |
|
---|
83 | <para>
|
---|
84 | modinfo examines an object file associated with a kernel module and
|
---|
85 | displays any information that it can glean.
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | </sect3>
|
---|
89 |
|
---|
90 | <sect3><title>modprobe</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Modprobe uses a Makefile-like dependency file, created by depmod,
|
---|
94 | to automatically load the relevant module(s) from the set of modules
|
---|
95 | available in predefined directory trees.
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | </sect3>
|
---|
99 |
|
---|
100 | <sect3><title>rmmod</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | rmmod unloads loadable modules from the running kernel.
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | </sect3>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|