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

Nate Lawson nate at root.org
Mon Sep 12 11:04:37 PDT 2005


David O'Brien wrote:
> 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.
> 

This sounds good to me.

-- 
Nate


More information about the cvs-all mailing list