From owner-freebsd-stable@FreeBSD.ORG Fri Jul 3 14:25:30 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 C193D1065701 for ; Fri, 3 Jul 2009 14:25:30 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) by mx1.freebsd.org (Postfix) with ESMTP id 50FF08FC0A for ; Fri, 3 Jul 2009 14:25:30 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [10.0.0.110]) by kagate1.punkt.de with ESMTP id n63EPSPC051076 for ; Fri, 3 Jul 2009 16:25:28 +0200 (CEST) Received: from hugo10.ka.punkt.de (localhost [127.0.0.1]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id n63EPSel011475 for ; Fri, 3 Jul 2009 16:25:28 +0200 (CEST) (envelope-from ry93@hugo10.ka.punkt.de) Received: (from ry93@localhost) by hugo10.ka.punkt.de (8.14.2/8.14.2/Submit) id n63EPSvl011474 for freebsd-stable@freebsd.org; Fri, 3 Jul 2009 16:25:28 +0200 (CEST) (envelope-from ry93) Date: Fri, 3 Jul 2009 16:25:28 +0200 From: "Patrick M. Hausen" To: FreeBSD Stable Mailing List Message-ID: <20090703142528.GA11039@hugo10.ka.punkt.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.17 (2007-11-01) Subject: 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:25:31 -0000 Hi, all, When I upgraded some of our machines from 6.x to 7.2 I noticed that the root filesystems seemed to fill up. I thought this might come from makeoptions DEBUG=-g in the kernel config, but somehow that doesn't make sense, since our older systems have the same option present. 6.3-System: ----------- makeoptions DEBUG=-g $ du -sk /boot/kernel 27920 /boot/kernel No *.symbols files in /boot/kernel. 7.2-System: ----------- makeoptions DEBUG=-g $ du -sk /boot/kernel 214778 /boot/kernel Lots of those files filling /boot/kernel. 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. Thanks, Patrick -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285