From owner-freebsd-stable@FreeBSD.ORG Mon Jul 6 08:34:45 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 239061065675 for ; Mon, 6 Jul 2009 08:34:45 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id D7D478FC15 for ; Mon, 6 Jul 2009 08:34:44 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:bdb1:b6a5:88be:cfe9] (unknown [IPv6:2001:7b8:3a7:0:bdb1:b6a5:88be:cfe9]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 466055C59; Mon, 6 Jul 2009 10:34:43 +0200 (CEST) Message-ID: <4A51B721.5020505@andric.com> Date: Mon, 06 Jul 2009 10:34:41 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1pre) Gecko/20090705 Shredder/3.0b3pre MIME-Version: 1.0 To: "Patrick M. Hausen" 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> In-Reply-To: <20090706074256.GD6306@hugo10.ka.punkt.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Ruben de Groot , FreeBSD Stable Mailing List Subject: Re: What is /boot/kernel/*.symbols? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 08:34:45 -0000 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.