Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 2009 10:34:41 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        "Patrick M. Hausen" <hausen@punkt.de>
Cc:        Ruben de Groot <mail25@bzerk.org>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: What is /boot/kernel/*.symbols?
Message-ID:  <4A51B721.5020505@andric.com>
In-Reply-To: <20090706074256.GD6306@hugo10.ka.punkt.de>
References:  <20090703142528.GA11039@hugo10.ka.punkt.de> <4A4E174A.1050207@andric.com> <20090703144121.GC11039@hugo10.ka.punkt.de> <4A4E1E24.3020303@andric.com> <20090703152150.GE11039@hugo10.ka.punkt.de> <20090705003834.12211k8697td2o74@webmail.private.lan> <20090706073941.GA78371@ei.bzerk.org> <20090706074256.GD6306@hugo10.ka.punkt.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A51B721.5020505>