Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8M0D-0001pU-7B for mharc-grub-devel@gnu.org; Mon, 16 Jun 2008 17:12:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8M0B-0001pP-Da for grub-devel@gnu.org; Mon, 16 Jun 2008 17:12:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8M09-0001ot-NG for grub-devel@gnu.org; Mon, 16 Jun 2008 17:12:34 -0400 Received: from [199.232.76.173] (port=33484 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8M09-0001oq-Av for grub-devel@gnu.org; Mon, 16 Jun 2008 17:12:33 -0400 Received: from aybabtu.com ([69.60.117.155]:45197) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8M08-0004T7-Mw for grub-devel@gnu.org; Mon, 16 Jun 2008 17:12:32 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1K8Lxv-00033n-B1 for grub-devel@gnu.org; Mon, 16 Jun 2008 23:10:15 +0200 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1K8Lzk-0001c5-NQ for grub-devel@gnu.org; Mon, 16 Jun 2008 23:12:08 +0200 Date: Mon, 16 Jun 2008 23:12:08 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080616211208.GA6108@thorin> References: <20080615174819.GA3506@thorin> <1213576320.12833.3.camel@dv> <20080616091535.GA17206@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [RFC] split floppy support off biosdisk X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2008 21:12:35 -0000 On Mon, Jun 16, 2008 at 07:03:50PM +0800, Bean wrote: > On Mon, Jun 16, 2008 at 5:15 PM, Robert Millan wrote: > > On Mon, Jun 16, 2008 at 02:30:38PM +0800, Bean wrote: > >> > >> The fd and hd device share many code, separating them is not a good > >> idea. > > > > If code duplication is a problem, we could link the same code staticaly for > > each module. Size of biosdisk module is an issue, because it's always used > > in core.img, but size of floppy module isn't, because it's never needed for > > bootstrap. > > > >> Perhaps what we need is a way to optionally disable the floppy > >> device, for example, with a variable such as no_floppy. > > > > But that makes biosdisk bigger, not smaller :-( > > Hi, > > Is size really that important ? I think even if you split the module, > it would only save very little space, which doesn't matter in the big > picture, unless you have a situation where the current size is very > closed to the upper limit. No, not really.. I think I'm being overzealous. I'll see about using that variable. > In that case, I suggest more dramatic > action, like replacing lzo with a strong compression algorithm, like > lzma, which would save a few thousand bytes. I recall this being discussed before. Possibly this would make the decompressor bigger, too. Did you check the trade-off is good? -- Robert Millan I know my rights; I want my phone call! What good is a phone call… if you are unable to speak? (as seen on /.)