Fix indentation.
Translators may probably ignore. Approved by: bcr (mentor)
This commit is contained in:
parent
b161de5a10
commit
f864914934
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=40943
1 changed files with 14 additions and 9 deletions
|
@ -67,25 +67,30 @@
|
|||
a running kernel without constantly rebooting to test
|
||||
changes.</para>
|
||||
|
||||
<indexterm><primary>kernel
|
||||
modules</primary><secondary>loading</secondary></indexterm>
|
||||
<indexterm>
|
||||
<primary>kernel modules</primary>
|
||||
<secondary>loading</secondary>
|
||||
</indexterm>
|
||||
<indexterm><primary>kernel modules</primary><secondary>unloading</secondary></indexterm>
|
||||
<indexterm><primary>kernel modules</primary><secondary>listing</secondary></indexterm>
|
||||
|
||||
<para>The kld interface is used through:</para>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><simpara><command>kldload</command> - loads a new kernel
|
||||
module</simpara></listitem>
|
||||
<listitem><simpara><command>kldunload</command> - unloads a kernel
|
||||
module</simpara></listitem>
|
||||
<listitem><simpara><command>kldstat</command> - lists the currently loaded
|
||||
modules</simpara></listitem>
|
||||
<listitem>
|
||||
<simpara><command>kldload</command> - loads a new kernel
|
||||
module</simpara></listitem>
|
||||
<listitem>
|
||||
<simpara><command>kldunload</command> - unloads a kernel
|
||||
module</simpara></listitem>
|
||||
<listitem>
|
||||
<simpara><command>kldstat</command> - lists loaded
|
||||
modules</simpara></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>Skeleton Layout of a kernel module</para>
|
||||
|
||||
<programlisting>/*
|
||||
<programlisting>/*
|
||||
* KLD Skeleton
|
||||
* Inspired by Andrew Reiter's Daemonnews article
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue