Date: Mon, 6 Jul 2009 11:41:40 +0300 From: Dan Naumov <dan.naumov@gmail.com> To: Dimitry Andric <dimitry@andric.com> Cc: Ruben de Groot <mail25@bzerk.org>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org> Subject: Re: What is /boot/kernel/*.symbols? Message-ID: <cf9b1ee00907060141w110e36c3p5922d31b3acd1f62@mail.gmail.com> In-Reply-To: <4A51B721.5020505@andric.com> 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> <4A51B721.5020505@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 6, 2009 at 11:34 AM, Dimitry Andric<dimitry@andric.com> wrote: > On 2009-07-06 09:42, Patrick M. Hausen wrote: >>> #define ROOT_DEFAULT_SIZE =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 =A0 =A0/boot/kernel > 122M =A0 =A0/boot/kernel.20090629a > 121M =A0 =A0/boot/kernel.20090630a > 122M =A0 =A0/boot/kernel.20090702a > 121M =A0 =A0/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. atom# uname -a FreeBSD atom.localdomain 7.2-RELEASE-p1 FreeBSD 7.2-RELEASE-p1 #0: Tue Jun 9 18:02:21 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 atom# du -hs /boot/kernel* 205M /boot/kernel This is on a stock 7.2-release/amd64 updated to -p1 with freebsd-update, 2 kernels is the maximum that would fit into the default 512mb partition size for /, a bit too tight for my liking. - Sincerely, Dan Naumov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf9b1ee00907060141w110e36c3p5922d31b3acd1f62>