From 18a88c671088ae0d3ba41bb44ba6ef1dc39d124d Mon Sep 17 00:00:00 2001 From: Dru Lavigne Date: Wed, 19 Mar 2014 15:55:02 +0000 Subject: [PATCH] Comment out the kernel walk-through as it is out-of-date and architecture specific. Comment out the PAE section as it deals with ancient hardware. Some small editorial fixes. Sponsored by: iXsystems --- .../books/handbook/kernelconfig/chapter.xml | 45 +++++++++++-------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml index 5de1f309ac..6e6c396cce 100644 --- a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.xml @@ -250,7 +250,7 @@ ath_hal(4) - Atheros Hardware Access Layer (HAL) If /usr/src/ does not exist or it is empty, source has not been installed. Source can be installed - using Subversion, which is described + using Subversion and the instructions in . Once source is installed, review the contents of @@ -268,25 +268,13 @@ ath_hal(4) - Atheros Hardware Access Layer (HAL) The convention is to use a name with all capital letters. When maintaining multiple &os; machines with different hardware, it is a good idea to name it after the machine's hostname. This - example creates a custom configuration file for the + example creates a copy, named MYKERNEL, of the + GENERIC configuration file for the amd64 architecture: &prompt.root; cd /usr/src/sys/amd64/conf &prompt.root; cp GENERIC MYKERNEL - - When finished customizing the kernel configuration file, - save a backup copy to a location outside of /usr/src. - - Alternately, keep the kernel configuration file elsewhere - and create a symbolic link to the file: - - &prompt.root; cd /usr/src/sys/amd64/conf -&prompt.root; mkdir /root/kernels -&prompt.root; cp GENERIC /root/kernels/MYKERNEL -&prompt.root; ln -s /root/kernels/MYKERNEL - - The configuration file MYKERNEL can now be customized with any ASCII text editor. The default editor is @@ -320,13 +308,26 @@ ath_hal(4) - Atheros Hardware Access Layer (HAL) For architecture independent options, refer to /usr/src/sys/conf/NOTES. + + When finished customizing the kernel configuration file, + save a backup copy to a location outside of /usr/src. + + Alternately, keep the kernel configuration file elsewhere + and create a symbolic link to the file: + + &prompt.root; cd /usr/src/sys/amd64/conf +&prompt.root; mkdir /root/kernels +&prompt.root; cp GENERIC /root/kernels/MYKERNEL +&prompt.root; ln -s /root/kernels/MYKERNEL + + An include directive is available for use in configuration files. This allows another configuration file to be included in the current one, making it easy to maintain - small changes relative to an existing file. For example, if + small changes relative to an existing file. If only a small number of additional options or drivers are required, this allows a delta to be maintained with respect - to GENERIC: + to GENERIC, as seen in this example: include GENERIC ident MYKERNEL @@ -351,12 +352,14 @@ options IPDIVERT &prompt.root; cd /usr/src/sys/arch/conf && make LINT - + + +