Suddenly realised none of the

<informalexample>
    <screen>
      ...
    </screen>
  </informalexample>

need the <informalexample> element. So remove it. Simple search and
replace does the trick.
This commit is contained in:
Nik Clayton 1999-01-30 23:35:05 +00:00
parent 84b6327dc0
commit 7321b94099
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=4157
66 changed files with 1825 additions and 1830 deletions

View file

@ -84,10 +84,10 @@
copy the <filename>GENERIC</filename> configuration file to the name
you want to give your kernel. For example:</para>
<informalexample>
<screen>&prompt.root; <userinput>cd /usr/src/sys/i386/conf</userinput>
&prompt.root; <userinput>cp GENERIC MYKERNEL</userinput></screen>
</informalexample>
<para>Traditionally, this name is in all capital
letters and, if you are maintaining multiple FreeBSD machines with
@ -132,13 +132,13 @@
<para>When you are finished, type the following to compile and install
your kernel:</para>
<informalexample>
<screen>&prompt.root; <userinput>/usr/sbin/config MYKERNEL</userinput>
&prompt.root; <userinput>cd ../../compile/MYKERNEL</userinput>
&prompt.root; <userinput>make depend</userinput>
&prompt.root; <userinput>make</userinput>
&prompt.root; <userinput>make install</userinput></screen>
</informalexample>
<para>The new kernel will be copied to the root
directory as <filename>/kernel</filename> and the old kernel will be
@ -1551,9 +1551,9 @@ controller wcd0</programlisting>
device. It turns out that those files are not there, so I must
change to the <filename>/dev</filename> directory and type:</para>
<informalexample>
<screen>&prompt.root; <userinput>sh MAKEDEV wcd0</userinput></screen>
</informalexample>
<para>When this script finishes, you will find that
there are now <filename>wcd0c</filename> and <filename>rwcd0c</filename> entries in <filename>/dev</filename> so
@ -1561,9 +1561,9 @@ controller wcd0</programlisting>
<para>For sound cards, the command:
<informalexample>
<screen>&prompt.root; <userinput>sh MAKEDEV snd0</userinput></screen>
</informalexample> creates the appropriate entries.</para>
creates the appropriate entries.</para>
<note>
<para>When creating device nodes for devices such as sound cards, if
@ -1604,9 +1604,9 @@ controller wcd0</programlisting>
it with <command>vi</command>. For example, if
you see:
<informalexample>
<screen>config: line 17: syntax error</screen>
</informalexample> you can skip to the problem in <command>vi</command> by typing <COMMAND>17G</COMMAND> in command mode.
you can skip to the problem in <command>vi</command> by typing <COMMAND>17G</COMMAND> in command mode.
Make sure the keyword is typed correctly, by comparing it to
the GENERIC kernel or another reference.</para>
</listitem>
@ -1660,18 +1660,18 @@ controller wcd0</programlisting>
kernel file that <command>make</command> installs (in
order to move another kernel back permanently) is:</para>
<informalexample>
<screen>&prompt.root; <userinput>chflags noschg /kernel</userinput></screen>
</informalexample>
<para>And, if you want to
&ldquo;lock&rdquo; your new kernel into place, or any
file for that matter, so that it cannot be moved or
tampered with:</para>
<informalexample>
<screen>&prompt.root; <userinput>chflags schg /kernel</userinput></screen>
</informalexample>
</note>
</listitem>
</varlistentry>