📄 module_loader.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head> <title></title> <link rel="stylesheet" media="screen" type="text/css" href="./style.css" /> <link rel="stylesheet" media="screen" type="text/css" href="./design.css" /> <link rel="stylesheet" media="print" type="text/css" href="./print.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><a href=start.html>start</a></br><h3><a name="new_kernel_module_loader" id="new_kernel_module_loader">New Kernel Module Loader</a></h3><div class="level3"><p> The 2.6 Kernel requires a new Kernel Module Loader. </p><table class="inline"> <tr> <td class="centeralign"> <a href="ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-3.1-pre4.tar.bz2" class="urlextern" title="ftp://ftp.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-3.1-pre4.tar.bz2" rel="nofollow">ftp.kernel.org/pub/linux/kernel/people/rusty/modules/module-init-tools-3.1-pre4.tar.bz2</a> </td> </tr></table><br /><p> With the 2.6 kernel a lot of the module loading functionality has been moved into the kernel. Most of the module install work is done by a new system call <code>init_module</code>.</p><p>The following user code example shows how the insmod and modprobe utilities use the new call. </p><pre class="code c"> ret = init_module<span class="br0">(</span>file, len, options<span class="br0">)</span>; file = module name len = module size options = load options</pre><p>A configuration file <code>/etc/modprobe.conf</code> file can be created from an older <code>/etc/modules.conf</code> file using a new script called <code>generate-modprobe.conf</code>. </p></div></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -