From owner-freebsd-stable@FreeBSD.ORG Fri Jul 3 14:35:58 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 0C13E1065675 for ; Fri, 3 Jul 2009 14:35:58 +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 C50E98FC21 for ; Fri, 3 Jul 2009 14:35:57 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from [IPv6:2001:7b8:3a7:0:2d66:27a4:c4f9:d401] (unknown [IPv6:2001:7b8:3a7:0:2d66:27a4:c4f9:d401]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id E722E5C59; Fri, 3 Jul 2009 16:35:56 +0200 (CEST) Message-ID: <4A4E174A.1050207@andric.com> Date: Fri, 03 Jul 2009 16:35:54 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.1pre) Gecko/20090701 Shredder/3.0b3pre MIME-Version: 1.0 To: "Patrick M. Hausen" References: <20090703142528.GA11039@hugo10.ka.punkt.de> In-Reply-To: <20090703142528.GA11039@hugo10.ka.punkt.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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: Fri, 03 Jul 2009 14:35:58 -0000 On 2009-07-03 16:25, Patrick M. Hausen wrote: > On a current server with 512 MB /, the filesystem is at > 97% after installing a new kernel twice. Can I get rid of > these files somehow or are they necessary, in which case > I will need way bigger root filesystems? > > I mean, get rid automatically and never install them again. > I know the chflags and rm commands ;-) But then the question > of they are needed is still open. You can find this in /usr/src/UPDATING: 20060118: This actually occured some time ago, but installing the kernel now also installs a bunch of symbol files for the kernel modules. This increases the size of /boot/kernel to about 67Mbytes. You will need twice this if you will eventually back this up to kernel.old on your next install. If you have a shortage of room in your root partition, you should add -DINSTALL_NODEBUG to your make arguments or add INSTALL_NODEBUG="yes" to your /etc/make.conf. However, you should consider increasing the size of your root partition, if possible. It can be extremely handy to have symbol files available whenever there's a crash. :)