From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VrAX1-00017o-AB for mharc-grub-devel@gnu.org; Thu, 12 Dec 2013 12:58:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrAWu-00017Q-K1 for grub-devel@gnu.org; Thu, 12 Dec 2013 12:58:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrAWp-0001uI-86 for grub-devel@gnu.org; Thu, 12 Dec 2013 12:58:32 -0500 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:59984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrAWp-0001u5-0H for grub-devel@gnu.org; Thu, 12 Dec 2013 12:58:27 -0500 Received: by mail-ee0-f41.google.com with SMTP id t10so411871eei.28 for ; Thu, 12 Dec 2013 09:58:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=ipg3JCy6P0QH/qHzoenPHYJSUva971KTyR148m53Yoc=; b=LBwWX1UkMyWutNDZJLMDzM7zKKsL5YrczU09LCHFiOvFMRRH89W+Cg0ztZICZ//I98 FByOVHTWLgTOP29/e2XJYYMcLI/PxhFRwm7fqZ/HJHse3eyLUAk/ZA2srlB+aGe2vTuc h2o2EuJJTS8Y5KR7Up6LRnBajSSXld0Pn7Oru3ex9MstT64S76T513Y2qMpB0BbRG+ZN i8ykw/Dt9InAmGTQ2EnjXkpWWNFj/oyA/PydLHBO5jxgmeSy+6C2WB7R3sl93PirQ6QL Klv9nnZuEJe8NzxW832Q3MD4nr4zCVAYyTwBbtk2XKnfKY32hZPr8QFS8kTZjQi95DcO T3ng== X-Received: by 10.14.246.202 with SMTP id q50mr9545095eer.58.1386871106054; Thu, 12 Dec 2013 09:58:26 -0800 (PST) Received: from [192.168.1.16] (85-188.196-178.cust.bluewin.ch. [178.196.188.85]) by mx.google.com with ESMTPSA id 44sm68495123eek.5.2013.12.12.09.58.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Dec 2013 09:58:24 -0800 (PST) Message-ID: <52A9F93F.2000008@gmail.com> Date: Thu, 12 Dec 2013 18:58:23 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: [PATCH 2/4] Accept environment variables on the command line for Xen. References: <20131212153643.GA1431@riva.ucam.org> <20131212153722.GC1431@riva.ucam.org> <20131212194805.5d81a2e7@opensuse.site> <20131212211203.6231e256@opensuse.site> In-Reply-To: <20131212211203.6231e256@opensuse.site> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kp7jqXw64gMMdEBl1upekHmIwgdR7oICt" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::229 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2013 17:58:38 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kp7jqXw64gMMdEBl1upekHmIwgdR7oICt Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 12.12.2013 18:12, Andrey Borzenkov wrote: > =D0=92 Thu, 12 Dec 2013 17:13:13 +0100 > "Vladimir 'phcoder' Serbinenko" =D0=BF=D0=B8=D1=88=D0= =B5=D1=82: >=20 >> - Many platforms add their own command line arguments even if user did= n't >> ask for it. Those shouldn't interfere. In your patch root=3Dsda1 from = xen >> will either be lost or will clobber GRUB root. >=20 > My be we could adopt current Linux convention and prefix variables for > GRUB with grub.foo=3Dxxx (stripping "grub." prefix). I do not know whet= her > it could have compatibility implications for current code though. >=20 > The reasoning is, it would allow overwriting variables very early > without need for scripting that is available only after normal is > loaded. >=20 My response was terse and it seems that you misunderstood it, sorry. I meant more along the lines that define: cmdline.# as number of arguments cmdline.1,..., cmdline.N are the raw arguments cmdline.var. are parsed variants of =3D E.g. If the commandline is "root=3D/dev/sda1 ro" Then cmdline.#=3D2 cmdline.1=3Droot=3D/dev/sda1 cmdline.2=3Dro cmdline.var.root=3D/dev/sda1 Would that be satisfactory for your usecases? What are the usecases? > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 --kp7jqXw64gMMdEBl1upekHmIwgdR7oICt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKp+T8ACgkQmBXlbbo5nOt+EQEApBlpJuTGx4a9NieiAUjSDPB7 YTJxu6qT7ABGwxg8OOUA/0Xe++2Ow1m+PkAyRPQY4JJc9Kv/IlRtEYMvwJVfGfi/ =tgyD -----END PGP SIGNATURE----- --kp7jqXw64gMMdEBl1upekHmIwgdR7oICt--