What is /boot/kernel/*.symbols?

Dimitry Andric dimitry at andric.com
Mon Jul 6 08:34:45 UTC 2009


On 2009-07-06 09:42, Patrick M. Hausen wrote:
>> #define ROOT_DEFAULT_SIZE               512
> 
> IMHO it is not. If you install a kernel with *.symbols present
> twice (i.e. kernel and kernel.old contain symbol files), your
> root partition will be > 95% full.

I'm not sure how you arrive at this number; even with -CURRENT (on i386,
with all debug symbols), I could store about 4 complete kernels on such
a filesystem:

$ du -hs /boot/kernel*
122M    /boot/kernel
122M    /boot/kernel.20090629a
121M    /boot/kernel.20090630a
122M    /boot/kernel.20090702a
121M    /boot/kernel.20090703a

All other files on my root filesystem use up an additional ~25 MiB, so
in practice, it would be limited to 3 kernels, with more than enough
breathing room.


More information about the freebsd-stable mailing list