From owner-freebsd-current Fri Nov 21 00:55:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id AAA24411 for current-outgoing; Fri, 21 Nov 1997 00:55:32 -0800 (PST) (envelope-from owner-freebsd-current) Received: from word.smith.net.au (s204m107.whistle.com [207.76.204.107]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id AAA24404 for ; Fri, 21 Nov 1997 00:55:29 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.7/8.8.5) with ESMTP id TAA00464; Fri, 21 Nov 1997 19:20:40 +1030 (CST) Message-Id: <199711210850.TAA00464@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Evan Champion cc: freebsd-current@FreeBSD.org Subject: Re: Stripping the kernel In-reply-to: Your message of "Fri, 21 Nov 1997 02:23:40 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 21 Nov 1997 19:20:40 +1030 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > Does anyone else thing this might be a good idea? > > Change /sys/i386/conf/Makefile.i386's install line to: > > install -s -c -m 555 -o root -g wheel -fschg kernel / > > The reason is this: I compiled a kernel with debug symbols (-g) and it > tried to install an 8 MB kernel; stripped, it was 800k. No. If you build a kernel with debug symbols, it is expected that you realise how big it is, and strip it if required before installing it. I will quite often boot full-debug kernels just to get line numbers and filenames from crashes that can't be cored from; this would be very annoying for that sort of thing. mike