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