Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8CVA-0007yX-KN for mharc-grub-devel@gnu.org; Mon, 16 Jun 2008 07:03:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8CV8-0007xf-Qt for grub-devel@gnu.org; Mon, 16 Jun 2008 07:03:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8CV7-0007vi-Cm for grub-devel@gnu.org; Mon, 16 Jun 2008 07:03:54 -0400 Received: from [199.232.76.173] (port=49366 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8CV7-0007va-1G for grub-devel@gnu.org; Mon, 16 Jun 2008 07:03:53 -0400 Received: from ti-out-0910.google.com ([209.85.142.191]:18492) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8CV6-000736-It for grub-devel@gnu.org; Mon, 16 Jun 2008 07:03:52 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1632556tia.10 for ; Mon, 16 Jun 2008 04:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tgjR2kzCqX/3qjEzE6P2MF59/fvhPzHLz+iiPLXQSwQ=; b=tIZ31gVq65KICaRXsv2nlR670PBx0NxIvn5WvRG4MwRiNqGn/YYvyD+KfvvfkyMgGa hQDSHrIEAebaJo5tUetDo8wDVR7vJ8qrHuXY2RLywFUdhMde/8K/C+PxusrBIC6f6qVR ZmiiQRIFKe3S3Sb496PJXuLqvOVOq4fN39cNM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=aQtNqKj8B80hTPimy4xN/6ADFhCwju3KgYvXaJY40PCyGjRag7zjoJQkXSd/MBsSwM z+k6pRZo/BgWbnU5TfjPN0E4z+YjZ5cwoAJJ+eEmFP9a0t4mby6DvcoVzCotQmEfgczC y6iRMNmjF3G4xP8ES5lf7bqWbLXMf4a8porHw= Received: by 10.110.92.8 with SMTP id p8mr4267617tib.9.1213614230426; Mon, 16 Jun 2008 04:03:50 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Mon, 16 Jun 2008 04:03:50 -0700 (PDT) Message-ID: Date: Mon, 16 Jun 2008 19:03:50 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080616091535.GA17206@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080615174819.GA3506@thorin> <1213576320.12833.3.camel@dv> <20080616091535.GA17206@thorin> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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 11:03:55 -0000 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. 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. -- Bean