Date: Thu, 5 Aug 2010 07:39:44 -0700 From: Chip Camden <sterling@camdensoftware.com> To: freebsd-stable Stable <freebsd-stable@freebsd.org> Subject: Re: Kernel symbol file alternate location Message-ID: <20100805143944.GA23320@libertas.local.camdensoftware.com> In-Reply-To: <137EBEEE-0B62-4D4F-966C-43A3325C7DFB@gsoft.com.au> References: <137EBEEE-0B62-4D4F-966C-43A3325C7DFB@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100805143944.GA23320>