Date: Mon, 10 Jul 2000 14:10:06 -0700 (PDT) From: Ben Smithurst <ben@FreeBSD.org> To: freebsd-doc@freebsd.org Subject: Re: docs/19648: handbook mentions stripping kernel.debug, but this is done for you Message-ID: <200007102110.OAA06169@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/19648; it has been noted by GNATS. From: Ben Smithurst <ben@FreeBSD.org> 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: > - <para>When the kernel has been built make a copy of it, say > + <para>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.</para> </note> =20 - <para>When the kernel has been built make a copy of it, say + <para>When the kernel has been built, make a copy of it, say <filename>kernel.debug</filename>, and then run <command>strip - -g</command> on the original. Install the original as normal. You + -g</command> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007102110.OAA06169>