cvs commit: src/sys/conf kern.post.mk

David O'Brien obrien at FreeBSD.org
Mon Sep 12 09:59:41 PDT 2005


On Mon, Sep 12, 2005 at 08:58:25AM -0700, Nate Lawson wrote:
> Kris Kennaway wrote:
> >On Sun, Sep 11, 2005 at 02:47:27PM -0700, Nate Lawson wrote:
> >>Can we put it somewhere other than /?  /var/run/kernel?
> >
> >Why?  That would use up even more space, in total.
> 
> Huh?  I mean kernel, *.ko -> /boot/kernel and kernel.debug (or 
> kernel.sym once that's fixed) -> /var/crash/kernel/kernel.debug

I believe you'll get at least one response that it makes it harder to
keep the straight which symbols match which kernel.  One may
'mv /boot/kernel /boot/kernel.good-fifo' and forget to
'mv /var/crash/kernel /var/crash/kernel.good-fifo'.  By keeping kernel +
symbols in one place this isn't an issue.

I think a better approach would be to split the kernel into runnable part
and symbols part.  The symbols would be bzip2'ed and kept beside the
runnable part.  kgdb would grow support to read a bzip2'ed file (using
libbz2.so).  Then the space issue wouldn't be such an issue.

-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-src mailing list