Clean up the grammar, some tags, add softupdates to the options, and fix

some other minor "bugs".

PR:				34137, 34328, 34499
34137, 34499 Submitted by:	Tom Rhodes <darklogik@pittgoth.com>
34328 Submitted by:		Martin Heinen <martin@sumuk.de>
This commit is contained in:
Jim Mock 2002-02-01 09:54:51 +00:00
parent f2e89eb062
commit 5ae49d86f8
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=12050

View file

@ -162,7 +162,7 @@
<literal>src</literal>, then <literal>sys</literal>. If you <literal>src</literal>, then <literal>sys</literal>. If you
have an aversion to <application>sysinstall</application> and have an aversion to <application>sysinstall</application> and
you have access to an <quote>official</quote> FreeBSD CDROM, then you have access to an <quote>official</quote> FreeBSD CDROM, then
you can also install the source from the command line :</para> you can also install the source from the command line:</para>
<screen>&prompt.root; <userinput>mount</userinput> /cdrom <screen>&prompt.root; <userinput>mount</userinput> /cdrom
&prompt.root; <userinput>mkdir -p</userinput> <filename>/usr/src/sys</filename> &prompt.root; <userinput>mkdir -p</userinput> <filename>/usr/src/sys</filename>
@ -206,19 +206,19 @@
<note> <note>
<para>You must execute these and all of the following commands under <para>You must execute these and all of the following commands under
the root account or you will get <errortype>permission the <username>root</username> account or you will get
denied</errortype> errors.</para> <errortype>permission denied</errortype> errors.</para>
</note> </note>
<para>Now, edit <filename>MYKERNEL</filename> with your favorite text <para>Now, edit <filename>MYKERNEL</filename> with your favorite text
editor. If you are just starting out, the only editor available editor. If you are just starting out, the only editor available
will probably be <command>vi</command>, which is too complex to will probably be <application>vi</application>, which is too complex to
explain here, but is covered well in many books in the <link explain here, but is covered well in many books in the <link
linkend="bibliography">bibliography</link>. However, FreeBSD does linkend="bibliography">bibliography</link>. However, FreeBSD does
offer an easier editor called <quote>ee</quote> which, if you are a offer an easier editor called <application>ee</application> which, if
beginner, should be your editor of choice. Feel free to change the you are a beginner, should be your editor of choice. Feel free to
comment lines at the top to reflect your configuration or the change the comment lines at the top to reflect your configuration or
changes you have made to differentiate it from the changes you have made to differentiate it from
<filename>GENERIC</filename>.</para> <filename>GENERIC</filename>.</para>
<indexterm><primary>SunOS</primary></indexterm> <indexterm><primary>SunOS</primary></indexterm>
@ -256,7 +256,8 @@
<listitem> <listitem>
<para>If you are running a FreeBSD version prior to 4.0, and you are <para>If you are running a FreeBSD version prior to 4.0, and you are
<emphasis>not</emphasis> upgrading to FreeBSD 4.0 or higher using <emphasis>not</emphasis> upgrading to FreeBSD 4.0 or higher using
the <quote>make world</quote> procedure, use procedure 1.</para> the <maketarget>make world</maketarget> procedure, use procedure 1.
</para>
</listitem> </listitem>
<listitem> <listitem>
@ -266,8 +267,9 @@
</listitem> </listitem>
<listitem> <listitem>
<para>If you are rebuilding the kernel as part of a <quote>make <para>If you are rebuilding the kernel as part of a
world</quote> process, use procedure 2.</para> <maketarget>make world</maketarget> process, use procedure 2.
</para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
@ -305,7 +307,7 @@
way</title> way</title>
<step> <step>
<para>Change to the <filename>/usr/src</filename> directory</para> <para>Change to the <filename>/usr/src</filename> directory.</para>
<screen>&prompt.root; <userinput>cd /usr/src</userinput></screen> <screen>&prompt.root; <userinput>cd /usr/src</userinput></screen>
</step> </step>
@ -327,7 +329,7 @@
<para>In FreeBSD 4.2 and older you must replace <para>In FreeBSD 4.2 and older you must replace
<literal>KERNCONF=</literal> with <literal>KERNEL=</literal>. <literal>KERNCONF=</literal> with <literal>KERNEL=</literal>.
4.2-STABLE that was fetched after Feb 2nd, 2001 does 4.2-STABLE that was fetched after Feb 2nd, 2001 does
recognize <literal>KERNCONF=</literal></para> recognize <literal>KERNCONF=</literal>.</para>
</note> </note>
<indexterm> <indexterm>
@ -344,8 +346,9 @@
tree in any way (you have not run <application>CVSup</application>, tree in any way (you have not run <application>CVSup</application>,
<application>CTM</application>, or used <application>CTM</application>, or used
<application>anoncvs</application>), then you should use the <application>anoncvs</application>), then you should use the
<command>config</command>, <command>make depend</command>, <command>config</command>, <maketarget>make depend</maketarget>,
<command>make</command>, <command>make install</command> sequence.</para> <command>make</command>, <maketarget>make install</maketarget> sequence.
</para>
<indexterm> <indexterm>
<primary><filename>kernel.old</filename></primary> <primary><filename>kernel.old</filename></primary>
@ -610,6 +613,15 @@ options FFS_ROOT #FFS usable as root device [keep this!]</programli
is at a premium and disk access speed is less important, such as a is at a premium and disk access speed is less important, such as a
firewall.</para> firewall.</para>
<programlisting>options SOFTUPDATES #Enable FFS soft updates support</programlisting>
<para>This option enables soft updates in the kernel, this will help speed
up write access on the disks. They enabled by default in the 4.X branch
but may not be turned on. Review the output from &man.mount.8; to see
if you have them enabled. If you do not see the soft-updates option then
you will need to activate it using the &man.tunefs.8; or &man.newfs.8;
for new filesystems.</para>
<programlisting>options MFS #Memory Filesystem <programlisting>options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device</programlisting> options MD_ROOT #MD is a potential root device</programlisting>
@ -737,8 +749,8 @@ options CD9660_ROOT #CD-ROM usable as root, CD9660 required</programli
options _KPOSIX_PRIORITY_SCHEDULING</programlisting> options _KPOSIX_PRIORITY_SCHEDULING</programlisting>
<para>Real-time extensions added in the 1993 POSIX. Certain <para>Real-time extensions added in the 1993 POSIX. Certain
applications in the ports collection use these (such as Star applications in the ports collection use these
Office).</para> (such as <application>StarOffice</application>).</para>
<indexterm> <indexterm>
<primary>kernel options</primary> <primary>kernel options</primary>
@ -1021,7 +1033,7 @@ device miibus # MII bus support</programlisting>
<literal>device miibus</literal> to the kernel config pulls in <literal>device miibus</literal> to the kernel config pulls in
support for the generic miibus API and all of the PHY drivers, support for the generic miibus API and all of the PHY drivers,
including a generic one for PHYs that are not specifically handled including a generic one for PHYs that are not specifically handled
by an individual driver</para> by an individual driver.</para>
<programlisting>device dc # DEC/Intel 21143 and various workalikes <programlisting>device dc # DEC/Intel 21143 and various workalikes
device rl # RealTek 8129/8139 device rl # RealTek 8129/8139
@ -1303,13 +1315,13 @@ pseudo-device bpf # Berkeley packet filter</programlisting>
an excellent mechanism for recovering from incompatible an excellent mechanism for recovering from incompatible
kernels. Simply choose the kernel you want to boot from at kernels. Simply choose the kernel you want to boot from at
the FreeBSD boot loader. You can access this when the system the FreeBSD boot loader. You can access this when the system
counts down from 10. Hit any key except for the enter key, counts down from 10. Hit any key except for the
type <command>unload</command> and then type <keycap>enter</keycap> key, type <command>unload</command>
<command>boot and then type
<replaceable>kernel.old</replaceable></command>, or the <command>boot<replaceable>kernel.old</replaceable></command>,
filename of any other kernel that will boot properly. When or the filename of any other kernel that will boot properly.
reconfiguring a kernel, it is always a good idea to keep a When reconfiguring a kernel, it is always a good idea to keep
kernel that is known to work on hand.</para> a kernel that is known to work on hand.</para>
<para>After booting with a good kernel you can check over your <para>After booting with a good kernel you can check over your
configuration file and try to build it again. One helpful configuration file and try to build it again. One helpful