Date: Thu, 5 Aug 2010 14:11:40 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-stable Stable <freebsd-stable@freebsd.org> Subject: Kernel symbol file alternate location Message-ID: <137EBEEE-0B62-4D4F-966C-43A3325C7DFB@gsoft.com.au>
next in thread | raw e-mail | index | archive | help
--Apple-Mail-6--119093487 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Is it possible to tell installkernel to put the symbol files elsewhere? IMO somewhere in /usr would be good - you don't need them to boot (or = crashdump, 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 One downside is that you need to keep them in sync which is a bit of a = drag, however I think most people use installworld for upgrades/builds = so it would generally not be an issue. 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. I don't have patches to do this though :) -- 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 --Apple-Mail-6--119093487--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?137EBEEE-0B62-4D4F-966C-43A3325C7DFB>