From owner-freebsd-stable@FreeBSD.ORG Thu Aug 5 14:39:50 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44F0D1065674 for ; Thu, 5 Aug 2010 14:39:50 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id 0B7768FC17 for ; Thu, 5 Aug 2010 14:39:49 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Oh1Oj-0002kW-W7 for freebsd-stable@freebsd.org; Thu, 05 Aug 2010 07:26:19 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Thu, 05 Aug 2010 07:39:44 -0700 Date: Thu, 5 Aug 2010 07:39:44 -0700 From: Chip Camden To: freebsd-stable Stable Message-ID: <20100805143944.GA23320@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-stable Stable References: <137EBEEE-0B62-4D4F-966C-43A3325C7DFB@gsoft.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <137EBEEE-0B62-4D4F-966C-43A3325C7DFB@gsoft.com.au> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Kernel symbol file alternate location X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 14:39:50 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Daniel O'Connor on Thursday, 05 August 2010: > Is it possible to tell installkernel to put the symbol files elsewhere? >=20 > IMO somewhere in /usr would be good - you don't need them to boot (or cra= shdump, etc) and they increase the size of the kernel by a factor of 5(!), = eg.. > [cain 14:07] /tmp >du -sh kernel > 258M kernel > [cain 14:07] /tmp >rm -f kernel/*.symbols > [cain 14:07] /tmp >du -sh kernel =20 > 50M kernel >=20 > One downside is that you need to keep them in sync which is a bit of a dr= ag, however I think most people use installworld for upgrades/builds so it = would generally not be an issue. >=20 > I think this is the main reason / has had to grow - the actual kernel is = relatively small so even a 256Mb / could hold several, but with the symbol = files it is not possible. >=20 > I don't have patches to do this though :) >=20 > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C >=20 +1 to this idea. I'm currently building without symbols so I don't have to clean them out of kernel.old every time I do an installkernel. --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMWs0wAAoJEIpckszW26+RCIMH/iI4L1ct7LoNdBaYuQMoteeU Jjmgm8x5B/KEaZiYLWBIF2CK3dGLwoDgQbIgUSJUz8RG4PU1mH1FVoM7lXHO6cfm ndoWntpIOpIM92LmTSJUA4PYu1gk/zCGl61yyj/5WkE7K/FX5DbPCvijgeGcKOtT bqCfgB6NwGYAPIaRrU0FzOUWQo+T1LCp7BBgWuotYH2A2p7QH6VTmLZrVYCIbcvS DFl3I6uwrFeZijDjQfIjMLMxmc1wa41y4p5vr1aCkg1IY01be1HjIx14aB8CQQZd p38PBOeShD4g1pyl6oM+KEKuXTiUE2tA0J4T+LoyK+D9BC7GBU/eUJVATl0DTc0= =H0FB -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--