Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DIqK3-0004YI-6D for mharc-grub-devel@gnu.org; Tue, 05 Apr 2005 11:50:35 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DIqK0-0004Wt-6P for grub-devel@gnu.org; Tue, 05 Apr 2005 11:50:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIqGm-0003o7-PK for grub-devel@gnu.org; Tue, 05 Apr 2005 11:47:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIqGg-0003e2-RO for grub-devel@gnu.org; Tue, 05 Apr 2005 11:47:06 -0400 Received: from [32.97.110.131] (helo=e33.co.us.ibm.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DIqUc-0003Ke-JM for grub-devel@gnu.org; Tue, 05 Apr 2005 12:01:30 -0400 Received: from westrelay03.boulder.ibm.com (westrelay03.boulder.ibm.com [9.17.195.12]) by e33.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j35G1F4I075238 for ; Tue, 5 Apr 2005 12:01:15 -0400 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by westrelay03.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j35G1FCK166354 for ; Tue, 5 Apr 2005 10:01:15 -0600 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j35G1EGv009579 for ; Tue, 5 Apr 2005 10:01:14 -0600 Received: from [192.168.0.101] (sig-9-65-60-217.mts.ibm.com [9.65.60.217]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j35G1E3D009542 for ; Tue, 5 Apr 2005 10:01:14 -0600 Mime-Version: 1.0 (Apple Message framework v619.2) In-Reply-To: <200504050741.17929.okuji@enbug.org> References: <78d5a6962754dbc4b0f64fb15ffd7b79@penguinppc.org> <200504050741.17929.okuji@enbug.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <586cd7c33d0accab0a0305828b8a41fb@penguinppc.org> Content-Transfer-Encoding: 7bit From: Hollis Blanchard Date: Tue, 5 Apr 2005 11:01:13 -0500 To: The development of GRUB 2 X-Mailer: Apple Mail (2.619.2) 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 15:50:33 -0000 On Apr 5, 2005, at 12:41 AM, Yoshinori K. Okuji wrote: > On Tuesday 05 April 2005 02:38 am, Hollis Blanchard wrote: >> Can we have a shortcut to avoid specifying that "(hd,7)/" part >> repeatedly? I think that was the "root" command in GRUB Legacy, which >> was replaced by the "prefix" environment variable? But as I mentioned, >> "prefix" doesn't have the meaning we're looking for here... > > 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. I cannot find any grub_env_get("root") callers. -Hollis