NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/38425 (savecore confused if getbootfile(3) fails)

> talking about the right solution, savecore should not use /dev/ksyms
> or info from the live kernel at all.  we should store necessary info
> in the dump itself.  (as freebsd does?)

Well, the only thing that the current booted kernel filename is
used for is in the check_free() routine; if you eliminate that,
savecore works as expected. I'm somewhat tempted to just remove the
func entirely, as these days it's difficult to guess what the size
of the coredump + size of the kernel will actually be - especially
if they're gzipped.

Home | Main Index | Thread Index | Old Index