From owner-freebsd-current@FreeBSD.ORG Sat Mar 29 03:16:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D835037B401 for ; Sat, 29 Mar 2003 03:16:47 -0800 (PST) Received: from stork.mail.pas.earthlink.net (stork.mail.pas.earthlink.net [207.217.120.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C18C43F75 for ; Sat, 29 Mar 2003 03:16:47 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0191.cvx21-bradley.dialup.earthlink.net ([209.179.192.191] helo=mindspring.com) by stork.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 18zEKJ-0006Om-00; Sat, 29 Mar 2003 03:16:44 -0800 Message-ID: <3E857E9C.F7476A32@mindspring.com> Date: Sat, 29 Mar 2003 03:08:12 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Makoto Matsushita References: <20030329190908R.matusita@jp.FreeBSD.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4e0053332a195d73d0eddb4567620a299a7ce0e8f8d31aa3f350badd9bab72f9c350badd9bab72f9c cc: current@FreeBSD.org Subject: Re: FreeBSD/alpha kern.flp flood X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Mar 2003 11:16:49 -0000 Makoto Matsushita wrote: > It seems that kern.flp for FreeBSD/alpha is flooded (tested on FreeBSD/i386). > Maybe several kbytes should be removed from the kernel: [ ... ] > -r-xr-xr-x 1 root wheel 1223388 Mar 28 00:57 kernel.gz > -r-xr-xr-x 1 root wheel 200864 Mar 28 00:57 loader [ ... ] > Anybody have an idea to reduce the size? In theory, you could boot the kernel directly, without the loader. For that to work, though, you would need to do some extra work, but that would get you 200K back. You might also consider stripping the kernel, if it's not stripped already; that will break some things, but probably not things you care about when booting from a floppy. Maybe there are some drivers, not related to the floppy, that you could not link in, and provide kernel modules for them on a seperate floppy; you couldn't strip the symbols, or not keep the loader, though, in that case. I don't really know what's in the kernel you have there, so it's hard to tell what baggage you have to throw overboard. You might want to talk to Bruce. Also, the Alpha folks might be able to pick and choose driver sets for you, so that you could have several platform-specific versions of floppies, by stripping platform-specific drivers from the other floppies in the set. You'd want to ask on the -alpha, rther than -current, list for that; the idea may or may not be feasible. -- Terry