Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N52Qv-0005tY-M8 for mharc-grub-devel@gnu.org; Mon, 02 Nov 2009 14:19:17 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N52Qt-0005sU-Hm for grub-devel@gnu.org; Mon, 02 Nov 2009 14:19:15 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N52Qp-0005qg-TO for grub-devel@gnu.org; Mon, 02 Nov 2009 14:19:15 -0500 Received: from [199.232.76.173] (port=40000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N52Qp-0005qa-Q8 for grub-devel@gnu.org; Mon, 02 Nov 2009 14:19:11 -0500 Received: from solo.fdn.fr ([80.67.169.19]:48185) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N52Qp-0006Og-Dh for grub-devel@gnu.org; Mon, 02 Nov 2009 14:19:11 -0500 Received: from const.ipv6 (youpi.is-a-geek.org [80.67.176.89]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTP id 5AF314424C for ; Mon, 2 Nov 2009 20:19:10 +0100 (CET) Received: from samy by const.ipv6 with local (Exim 4.69) (envelope-from ) id 1N52Qm-0002jZ-IO for grub-devel@gnu.org; Mon, 02 Nov 2009 20:19:08 +0100 Date: Mon, 2 Nov 2009 20:19:08 +0100 From: Samuel Thibault To: The development of GRUB 2 Message-ID: <20091102191908.GJ4515@const.famille.thibault.fr> References: <20091102173329.GZ5001@const.bordeaux.inria.fr> <20091102185043.GJ28534@riva.ucam.org> <20091102185336.GG4515@const.famille.thibault.fr> <20091102191107.GA11570@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20091102191107.GA11570@thorin> User-Agent: Mutt/1.5.12-2006-07-14 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH,HURD] Fix root device passing 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, 02 Nov 2009 19:19:16 -0000 Robert Millan, le Mon 02 Nov 2009 20:11:07 +0100, a =E9crit : > On Mon, Nov 02, 2009 at 07:53:36PM +0100, Samuel Thibault wrote: > > Colin Watson, le Mon 02 Nov 2009 18:50:43 +0000, a =E9crit : > > > 'multiboot ${kernel} root=3Ddevice:${GRUB_DEVICE#/dev/}' would be s= impler > > > and quicker. > >=20 > > And will not work on some systems. >=20 > I guess at least in the GNU system it's safe to assume that /bin/bash i= s > available? ;-) bash, yes, but remember that /bin/sh could point to something else than bash. I believe we can however assume a /bin/sh that supports such substitution on the GNU system (note that dash used to not support it previously). > Note: we follow the convention of using hi case for global variables an= d > low case for private ones, so at the least I'd s/ROOT_DEVICE/root_devic= e/ > here. Ok, anyway it disappears. Samuel