From owner-freebsd-doc Mon Jul 10 14:10:10 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 47A8E37B63A for ; Mon, 10 Jul 2000 14:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA06169; Mon, 10 Jul 2000 14:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 10 Jul 2000 14:10:06 -0700 (PDT) Message-Id: <200007102110.OAA06169@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Ben Smithurst Subject: Re: docs/19648: handbook mentions stripping kernel.debug, but this is done for you Reply-To: Ben Smithurst Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/19648; it has been noted by GNATS. From: Ben Smithurst To: jblaine@mitre.org Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: docs/19648: handbook mentions stripping kernel.debug, but this is done for you Date: Mon, 10 Jul 2000 21:38:28 +0100 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ben Smithurst wrote: > - When the kernel has been built make a copy of it, say > + If you are using any version of FreeBSD older than 4.0-RELEASE, > + you should install a stripped copy of the kernel, rather than the > + significantly larger debug copy. > + When the kernel has been built, make a copy of it, say Grr. That's not what I meant, you still use the stripped copy on 4.0, you just don't strip it yourself. Something like this would actually make more sense: --- chapter.sgml 2000/06/14 00:47:36 1.24 +++ chapter.sgml 2000/07/10 20:37:40 @@ -48,9 +48,12 @@ releases. =20 - When the kernel has been built make a copy of it, say + When the kernel has been built, make a copy of it, say kernel.debug, and then run strip - -g on the original. Install the original as normal. You + -g on the original. Install the original as normal. + Note that from FreeBSD 4.0-RELEASE onwards, these two steps are + performed automatically, so you should not execute them yourself. + On all FreeBSD releases, you may also install the unstripped kernel, but symbol table lookup time= for some programs will drastically increase, and since the whole kernel = is loaded entirely at boot time and cannot be swapped out later, several --=20 Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: cmWSXIq9pIwtYO/TAjNdCsbAkMTmBwim iQCVAwUBOWo0QysPVtiZOS99AQFy5wP/TAIYG/ddNT9KBMeToec/yt22tr8No55c a4pr8ieuu7DzukDbkk868sS655CBcEMQf8tbU2VJ5TiR46d5sI9EaCY0GjA2/FPd vgoBaBvb3zaOLwzu5h0tURHbWcoe4OIG25EFvQB469MBLmSH7wqq0P0dPVwWR2o1 Iyy1C1+cdhA= =Xw6F -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message