From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DIqkq-00044s-5d for mharc-grub-devel@gnu.org; Tue, 05 Apr 2005 12:18:16 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DIqko-00042W-4u for grub-devel@gnu.org; Tue, 05 Apr 2005 12:18:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIqkm-00040y-7j for grub-devel@gnu.org; Tue, 05 Apr 2005 12:18:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIqkl-0003zO-Ry for grub-devel@gnu.org; Tue, 05 Apr 2005 12:18:11 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DIrBg-00079K-3x for grub-devel@gnu.org; Tue, 05 Apr 2005 12:46:00 -0400 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 87A919D2D for ; Tue, 5 Apr 2005 18:45:45 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 02483-05 for ; Tue, 5 Apr 2005 18:45:43 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 97DE59D3C for ; Tue, 5 Apr 2005 18:45:43 +0200 (CEST) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 66571C045 for ; Tue, 5 Apr 2005 18:45:43 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <78d5a6962754dbc4b0f64fb15ffd7b79@penguinppc.org> <200504050741.17929.okuji@enbug.org> <586cd7c33d0accab0a0305828b8a41fb@penguinppc.org> From: Marco Gerards Date: Tue, 05 Apr 2005 18:45:44 +0200 In-Reply-To: <586cd7c33d0accab0a0305828b8a41fb@penguinppc.org> (Hollis Blanchard's message of "Tue, 5 Apr 2005 11:01:13 -0500") Message-ID: <87oectxjd3.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: partition layouts 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: Tue, 05 Apr 2005 16:18:14 -0000 Hollis Blanchard writes: >> root is not a command but a variable in GRUB 2. > > Actually, I see now that it is a command: grub_rescue_cmd_root() in > kern/rescue.c. Is that only a rescue mode thing? That seems to be > exactly what I need... aside from the very confusing use of "root" > meaning where GRUB finds the kernel and "root" meaning where Linux > finds /sbin/init. Personally I do not care about if GRUB is confusing for linux users. As I see it, GRUB is not only a linux loader. > I cannot find any grub_env_get("root") callers. I thought I have changed the command to the variable. But perhaps this was only done for prefix (although that would be weird...). In that case we need a `root' variable. It is high on my todo list now, but don't rely too much on me and my todo list and please write it if you need it. It is the right thing to do it this way. -- Marco