From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DJXjJ-0007LO-P4 for mharc-grub-devel@gnu.org; Thu, 07 Apr 2005 10:11:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DJXjG-0007KA-QS for grub-devel@gnu.org; Thu, 07 Apr 2005 10:11:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DJXjG-0007JW-8S for grub-devel@gnu.org; Thu, 07 Apr 2005 10:11:30 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DJYCc-0002Zq-7K for grub-devel@gnu.org; Thu, 07 Apr 2005 10:41:50 -0400 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 3854091FF for ; Thu, 7 Apr 2005 16:37:32 +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 31458-05 for ; Thu, 7 Apr 2005 16:37:30 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 397A29154 for ; Thu, 7 Apr 2005 16:37:30 +0200 (CEST) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 08E06C045 for ; Thu, 7 Apr 2005 16:37:30 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <78d5a6962754dbc4b0f64fb15ffd7b79@penguinppc.org> <1112802181.42540385e191c@imp1-q.free.fr> <09d5e0fe0d7b9a8fff11646ce127b650@penguinppc.org> <200504071617.11721.okuji@enbug.org> From: Marco Gerards Date: Thu, 07 Apr 2005 16:37:31 +0200 In-Reply-To: <200504071617.11721.okuji@enbug.org> (Yoshinori K. Okuji's message of "Thu, 7 Apr 2005 16:17:11 +0200") Message-ID: <87oecqfyac.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 - "root" 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: Thu, 07 Apr 2005 14:11:32 -0000 "Yoshinori K. Okuji" writes: > On Thursday 07 April 2005 02:02 am, Hollis Blanchard wrote: >> It's clear to you and I, but seeing "root=foo" "root=bar" is obviously >> not very friendly and in general should be avoided. > > I understand your point. But I don't like "device", because it is too generic. Someone suggested bootdevice on IRC. I like that one, while is not that generic. > The advantage of "root" is that all GRUB Legacy users understand it. This is really important, I think. > One radical change would be to introduce the concept of "current working > device" or "current working directory": > > grub> cd (hd0) > grub> pwd > (hd0) > > This is consistent with Bash, but users would expect that they can do "cd > (hd0,0)/boot". Then the behavior of "ls" or TAB is inconsistent. This should not be the case. Not if both tab, ls, linux, etc work from pwd. In that case you can cd somewhere and everything you use is in the current dir. And there are relative (../foo) and absolute (/foo) paths. This is all consistent with bash. And it should work with all filesystems I have implemented. I would like this approach. You could even parse `.', `..' and `/' in fs.c so it becomes generic and you don't have to pass idiotic strings to the filesystems. Thanks, Marco