From owner-freebsd-doc Tue Feb 5 10:40:26 2002 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 54E9037B429 for ; Tue, 5 Feb 2002 10:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g15Ie1066335; Tue, 5 Feb 2002 10:40: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 1EBAB37B400 for ; Tue, 5 Feb 2002 10:38:00 -0800 (PST) Received: (from darklogik@localhost) by pittgoth.com (8.11.6/8.11.6) id g15IdTS02296; Tue, 5 Feb 2002 13:39:29 -0500 (EST) (envelope-from darklogik) Message-Id: <200202051839.g15IdTS02296@pittgoth.com> Date: Tue, 5 Feb 2002 13:39:29 -0500 (EST) From: Tom Rhodes Reply-To: Tom Rhodes To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: docs/34644: [PATCH] Handbook chapter(s) 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: 34644 >Category: docs >Synopsis: [PATCH] Handbook chapter(s) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 05 10:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 4.5 i386 >Organization: >Environment: System: FreeBSD localhost 4.5 >Description: Cleaning out the pr-database, many prs and patches have become obsolete due to to changes before/after their submission. This pr, other than fixing up a quick spell check, also closes several of these prs. Including: pr: 33042 pr: 34622 pr: 34587 pr: 34578 pr: 34344 pr: 33937 and obsoletes pr: 17916 which is a kernel config chapter rewrite, I am currently reviewing this pr along with pr: 33354 pr: 34074 and pr: 34524 >How-To-Repeat: Read the handbook, view the doc pr database, and wish someone would clean it up >Fix: Apply the following patch to the handbook directory (used diff -ru) diff -ru handbook.old/advanced-networking/chapter.sgml handbook/advanced-networking/chapter.sgml --- handbook.old/advanced-networking/chapter.sgml Tue Feb 5 11:17:58 2002 +++ handbook/advanced-networking/chapter.sgml Tue Feb 5 11:52:44 2002 @@ -4473,7 +4473,10 @@ It is a good idea to subscribe to CERT and - freebsd-announce + freebsd-security + of if you are an extremely busy administrator or use, you may wish + to check out the + freebsd-announce to stay up to date with the current Internet and FreeBSD security issues. diff -ru handbook.old/config/chapter.sgml handbook/config/chapter.sgml --- handbook.old/config/chapter.sgml Tue Feb 5 11:17:57 2002 +++ handbook/config/chapter.sgml Tue Feb 5 12:13:26 2002 @@ -1156,44 +1156,51 @@ /usr/swap0. You can use any name you want, of course. - First, be certain that your kernel configuration includes - the vnode driver. It is not in recent versions of - GENERIC. - - pseudo-device vn 1 #Vnode driver (turns a file into a device) + + Creating a Swapfile + + Be certain that your kernel configuration includes + the vnode driver. It is not in recent versions of + GENERIC. + + pseudo-device vn 1 #Vnode driver (turns a file into a device) + + - create a vn-device + create a vn-device: &prompt.root; cd /dev &prompt.root; sh MAKEDEV vn0 - create a swapfile (/usr/swap0) + create a swapfile (/usr/swap0): &prompt.root; dd if=/dev/zero of=/usr/swap0 bs=1024k count=64 - set proper permissions on (/usr/swap0) + set proper permissions on (/usr/swap0): &prompt.root; chmod 0600 /usr/swap0 - enable the swap file in /etc/rc.conf + enable the swap file in /etc/rc.conf: swapfile="/usr/swap0" # Set to name of swapfile if aux swapfile desired. - reboot the machine - - - To enable the swap file immediately, type + Reboot the machine or to enable the swap file immediately, + type: + + &prompt.root; vnconfig -e /dev/vn0b /usr/swap0 swap + + - &prompt.root; vnconfig -e /dev/vn0b /usr/swap0 swap + diff -ru handbook.old/cutting-edge/chapter.sgml handbook/cutting-edge/chapter.sgml --- handbook.old/cutting-edge/chapter.sgml Tue Feb 5 11:17:58 2002 +++ handbook/cutting-edge/chapter.sgml Tue Feb 5 12:23:31 2002 @@ -758,6 +758,19 @@ This checks the filesystems, remounts / read/write, mounts all the other UFS filesystems referenced in /etc/fstab and then turns swapping on. + + + + If your CMOS clock is set to local time and not to GMT, + you may also need to run the following command: +&prompt.root; adjkerntz -i + + This will make sure that your local timezone settings + get set up correctly - without this, you may later run into some + problems. + + + @@ -1009,7 +1022,8 @@ installworld to install the new system binaries. - Run + Be sure that you are in the /usr/src + directory, if not, &man.cd.1; there now and run: &prompt.root; make installworld diff -ru handbook.old/install/chapter.sgml handbook/install/chapter.sgml --- handbook.old/install/chapter.sgml Tue Feb 5 11:17:59 2002 +++ handbook/install/chapter.sgml Tue Feb 5 11:24:26 2002 @@ -2190,10 +2190,10 @@ / - 64MB + 100MB This is the root file system. Every other filesystem - will be mounted somewhere under this one. 64MB is a + will be mounted somewhere under this one. 100MB is a reasonable size for this filesystem. You will not be storing too much data on it, as a regular FreeBSD install will put about 40MB of data here. The remaining space is for temporary @@ -4515,6 +4515,11 @@ has been issued and the message "Please press any key to reboot" appears. If any key is pressed instead of turning off the power switch, the system will reboot. + + You could also use the CTRL+ALT+DEL key + combination to reboot the system, however this is not recommended + during normal operation. + diff -ru handbook.old/kernelconfig/chapter.sgml handbook/kernelconfig/chapter.sgml --- handbook.old/kernelconfig/chapter.sgml Tue Feb 5 11:18:00 2002 +++ handbook/kernelconfig/chapter.sgml Tue Feb 5 11:42:05 2002 @@ -616,7 +616,7 @@ options SOFTUPDATES #Enable FFS soft updates support 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 + up write access on the disks. They are 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; @@ -1318,7 +1318,7 @@ counts down from 10. Hit any key except for the enter key, type unload and then type - bootkernel.old, + boot kernel.old, or the filename of any other kernel that will boot properly. When reconfiguring a kernel, it is always a good idea to keep a kernel that is known to work on hand. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message