From owner-freebsd-doc Mon Dec 10 10:50: 9 2001 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6D06037B41C for ; Mon, 10 Dec 2001 10:50:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBAIo1f07158; Mon, 10 Dec 2001 10:50:01 -0800 (PST) (envelope-from gnats) Received: from pittgoth.com (14.zlnp1.xdsl.nauticom.net [209.195.149.111]) by hub.freebsd.org (Postfix) with ESMTP id 89B5B37B416 for ; Mon, 10 Dec 2001 10:42:07 -0800 (PST) Received: (from darklogik@localhost) by pittgoth.com (8.11.6/8.11.6) id fBAIgVn02223; Mon, 10 Dec 2001 13:42:31 -0500 (EST) (envelope-from darklogik) Message-Id: <200112101842.fBAIgVn02223@pittgoth.com> Date: Mon, 10 Dec 2001 13:42:31 -0500 (EST) From: Tom Rhodes Reply-To: Tom Rhodes To: FreeBSD-gnats-submit@freebsd.org Subject: docs/32679: Kernel Config chapter could use touching up Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32679 >Category: docs >Synopsis: Kernel Config chapter could use touching up >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Dec 10 10:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: >Description: Handbook, Kernel config could use improvement >How-To-Repeat: Read, pretent your new, and ask youself "what if" and "could I" >Fix: Read this patch, if you like it, commit it, if you don't, edit or complain to me *** chapter.old Thu Dec 6 19:35:16 2001 --- chapter.sgml Thu Dec 6 20:49:19 2001 *************** *** 111,117 **** ! Less memory use. A custom kernel often uses less memory than the GENERIC kernel, which is important because the kernel is one process that must always be present in memory. For this reason, a custom kernel is especially useful --- 111,117 ---- ! Less memory usage. A custom kernel often uses less memory than the GENERIC kernel, which is important because the kernel is one process that must always be present in memory. For this reason, a custom kernel is especially useful *************** *** 160,166 **** root, choosing Configure, then Distributions, then src, then sys. ! Next, move to the arch/conf directory --- 160,177 ---- root, choosing Configure, then Distributions, then src, then sys. ! Another way we could do this is by using the commandline and ! typing out ! &prompt.root; mount /cdrom ! &prompt.root; mkdir -p ! /usr/src/sys ! &prompt.root; ln -s /usr/src/sys ! /sys ! &prompt.root; cat /mnt/cdrom/sys/ssys.[a-d]* | tar ! -xzvf ! ! ! Next, move to the arch/conf directory *************** *** 202,210 **** denied errors. ! Now, edit MYKERNEL with your favorite text ! editor. If you are just starting out, the only editor available ! will probably be vi, which is too complex to explain here, but is covered well in many books in the bibliography. However, FreeBSD does offer an easier editor called ee which, if you are a --- 213,227 ---- denied errors. ! Alternativly you could store your entire config file inside the ! kernel itself and then use a command to extract it later. This is a great ! idea if you have a significantly small /usr partition, ! and don't really wish to keep the sources around. We will explain this ! procedure later. ! ! Now, edit MYKERNEL with ! your favorite text editor. If you are just starting out, the only editor ! available will probably be vi, which is too complex to explain here, but is covered well in many books in the bibliography. However, FreeBSD does offer an easier editor called ee which, if you are a *************** *** 976,981 **** --- 993,1008 ---- This is for an Iomega Zip drive. It requires scbus and da support. Best performance is achieved with ports in EPP 1.9 mode. + + + Uncomment this line to store this configuration file into your + kernel, you will be able to extract it later using the command + &prompt.root; strings -n 3 /kernel |sed 's/^__//p' > + MYKERNEL + #options INCLUDEC_CONFIG_FILE #Include this config + file + + # PCI Ethernet NICs. device de # DEC/Intel DC21x4x (Tulip) >Release-Note: >Audit-Trail: >Unformatted: >System: FreeBSD 5.0-CURRENT FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message