Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KFBd7-0005ju-6P for mharc-grub-devel@gnu.org; Sat, 05 Jul 2008 13:33:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFBd6-0005jp-Gi for grub-devel@gnu.org; Sat, 05 Jul 2008 13:33:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFBd4-0005jd-4a for grub-devel@gnu.org; Sat, 05 Jul 2008 13:32:59 -0400 Received: from [199.232.76.173] (port=44616 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFBd3-0005ja-T8 for grub-devel@gnu.org; Sat, 05 Jul 2008 13:32:57 -0400 Received: from ti-out-0910.google.com ([209.85.142.186]:41047) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KFBd3-0002kh-If for grub-devel@gnu.org; Sat, 05 Jul 2008 13:32:57 -0400 Received: by ti-out-0910.google.com with SMTP id u5so204468tia.10 for ; Sat, 05 Jul 2008 10:32:55 -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=9zU1ydzlzy+AdzvrNsSuDdado1GORwkzoz/XFgE4bm4=; b=v3BkoHOvMBC6QiQ4TGT8o451nsJZzEh2HdqoQCNU2nLMv/+iPK4OZmqcUK63wWly8U bb18GZZRHRfJ0guKBuFJuBRqKPAxdwaw6VXioENKizqGQdB6txbfJFNg5NwHDUY/nYVR Bv0v+x6BVaMQTkf/6kuiQ1TQjlXjeP2YnfRZk= 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=rbIAWrMPrIw4w2nuXe3/M8vdOJ948zYDz/cWCOkzaJVlXOCJfqLNludgWOw/Wc7guE nZyVYp4J0oFoDbWTWST3NXUyo4o2XfQMHzsnMEJfxNUeYTT6m1Hupz+fzrGunx2Pwr/g 2rvn8OOjGQjN3QqIaIgD+e+4tlxcoMo5pXQb4= Received: by 10.110.47.17 with SMTP id u17mr1102343tiu.46.1215279175152; Sat, 05 Jul 2008 10:32:55 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sat, 5 Jul 2008 10:32:55 -0700 (PDT) Message-ID: Date: Sun, 6 Jul 2008 01:32:55 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080705121501.GB1647@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080705121501.GB1647@thorin> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Idea: elimination of the normal mode 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: Sat, 05 Jul 2008 17:33:00 -0000 On Sat, Jul 5, 2008 at 8:15 PM, Robert Millan wrote: > On Sat, Jul 05, 2008 at 10:46:56AM +0800, Bean wrote: >> If we move the option analyzer from normal.mod to >> kernel, then we can have one unified set of commands. > > How much space could this represent? It won't take much, the code is basically inside normal/arg.c. > >> About the duplicated commands, we can create a module minicmd to >> include the most basic command > > Then we can't have a rescue shell before heap is initialised and minicmd > is loaded. Should we be concerned about this? The rescue shell is still there. It's part of the line by line command scanner. -- Bean