From owner-freebsd-questions Tue Jun 13 12:29:35 2000 Delivered-To: freebsd-questions@freebsd.org Received: from po3.wam.umd.edu (po3.wam.umd.edu [128.8.10.165]) by hub.freebsd.org (Postfix) with ESMTP id 3542B37C0A7 for ; Tue, 13 Jun 2000 12:29:25 -0700 (PDT) (envelope-from culverk@wam.umd.edu) Received: from rac4.wam.umd.edu (root@rac4.wam.umd.edu [128.8.10.144]) by po3.wam.umd.edu (8.9.3/8.9.3) with ESMTP id PAA15463; Tue, 13 Jun 2000 15:29:16 -0400 (EDT) Received: from rac4.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac4.wam.umd.edu (8.9.3/8.9.3) with SMTP id PAA07834; Tue, 13 Jun 2000 15:29:17 -0400 (EDT) Received: from localhost (culverk@localhost) by rac4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id PAA07830; Tue, 13 Jun 2000 15:29:17 -0400 (EDT) X-Authentication-Warning: rac4.wam.umd.edu: culverk owned process doing -bs Date: Tue, 13 Jun 2000 15:29:17 -0400 (EDT) From: Kenneth Wayne Culver To: Bob Collins Cc: "FreeBSD (E-mail)" Subject: RE: HUGE kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Well, I didn't even think about the debug... oops :-) Anyway, the suggestions I made should make the kernel smaller still... gzipping the kernel is something that's sometimes done in order to fit it on a floppy... I think maybe the generic kernel (at least the one used in the install process) is gzipped... ================================================================= | Kenneth Culver | FreeBSD: The best NT upgrade | | Unix Systems Administrator | ICQ #: 24767726 | | and student at The | AIM: muythaibxr | | The University of Maryland, | Website: (Under Construction) | | College Park. | http://www.wam.umd.edu/~culverk/| ================================================================= On Tue, 13 Jun 2000, Bob Collins wrote: > Thanks Ken and Mark for VERY quick responses. > > > What version of FreeBSD is this? > > 3.2 Stable. Came with the Book by Greg Lehey. I picked up the book w/ CDs at > CompUSA. > > > you can drop the mfs stuff > > the nfs stuff is in a module, you can drop it too > > you can get rid of userconfig and visual userconfig... unless you need > > you may wanna add flags 0xa0ff to the end of the wdc0 and wdc1 lines.. > > you could get rid of this unless you need it. > > Will do. > > > Other than those things... I'm not sure why your kernel is so > > god-aweful > > Mark Owens suggested that I ran config with the -g flag, as noted below. > > MO >I bet it's a debug kernel. You either ran config(8) with the ``-g'' > option > MO >or the ``CLAGS='' line in /etc/make.conf includes ``-g''. > > MO >You can always strip the debug info out of the kernel you have built > MO >with > # chflags -noschg /kernel > # strip -g /kernel > # chflags -schg /kernel > > MO >but you'd be better finding what caused a debug kernel to be built in > MO >the first place. > > I did! The book said so, but neve mentioned the down side to that. > > > big... I think maybe the generic kernel is gzipped though. > > Is it a good idea to gzip the kernel? > > Thanks so much. You are making my transition from Windoze and Linux a joy! > > Bob "soon to know something about FreeBSD" Collins > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message