From owner-freebsd-stable@FreeBSD.ORG Thu Aug 5 04:41:49 2010 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 EBFF9106564A for ; Thu, 5 Aug 2010 04:41:49 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 4BAF58FC18 for ; Thu, 5 Aug 2010 04:41:48 +0000 (UTC) Received: from ur.gsoft.com.au (Ur.gsoft.com.au [203.31.81.44]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id o754fe1q038975 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 5 Aug 2010 14:11:46 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" Content-Type: multipart/signed; boundary=Apple-Mail-6--119093487; protocol="application/pkcs7-signature"; micalg=sha1 Date: Thu, 5 Aug 2010 14:11:40 +0930 To: freebsd-stable Stable Message-Id: <137EBEEE-0B62-4D4F-966C-43A3325C7DFB@gsoft.com.au> Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) X-Spam-Score: -2.51 () ALL_TRUSTED,BAYES_00,T_RP_MATCHES_RCVD X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Kernel symbol file alternate location 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: Thu, 05 Aug 2010 04:41:50 -0000 --Apple-Mail-6--119093487 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Is it possible to tell installkernel to put the symbol files elsewhere? IMO somewhere in /usr would be good - you don't need them to boot (or = crashdump, etc) and they increase the size of the kernel by a factor of = 5(!), eg.. [cain 14:07] /tmp >du -sh kernel 258M kernel [cain 14:07] /tmp >rm -f kernel/*.symbols [cain 14:07] /tmp >du -sh kernel =20 50M kernel One downside is that you need to keep them in sync which is a bit of a = drag, however I think most people use installworld for upgrades/builds = so it would generally not be an issue. I think this is the main reason / has had to grow - the actual kernel is = relatively small so even a 256Mb / could hold several, but with the = symbol files it is not possible. I don't have patches to do this though :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --Apple-Mail-6--119093487--