From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YlFMg-0005yR-K4 for mharc-grub-devel@gnu.org; Thu, 23 Apr 2015 07:32:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlFMe-0005sn-8t for grub-devel@gnu.org; Thu, 23 Apr 2015 07:32:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlFMd-0000p2-8q for grub-devel@gnu.org; Thu, 23 Apr 2015 07:32:16 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::12]:63901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlFMc-0000ol-Up for grub-devel@gnu.org; Thu, 23 Apr 2015 07:32:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1429788733; l=623; s=domk; d=aepfle.de; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Subject:To:From:Date; bh=dzxVKqREtREhUPr8IF9RqEVH2usq9/tl9WyiZ30uhK0=; b=tRHzEoJR3f5cDX+utyOsSUw1L3YRE3rJB8HSTuolL/1UqyT0e9KwXR6e5vFur7mPesi 4nhawSI0V5QZzaQ4ZrgreQQ16dVceSLYffrJr3mO3NoY+KYnXFc9pe5nsXmX2DgSUxbtI uToN5WvXxiiGGF+knVL5Q9XS62GyW4Ywld8= X-RZG-AUTH: :P2EQZWCpfu+qG7CngxMFH1J+yackYocTD1iAi8x+OWi/zfN1cLnBYfssVo1SFZSlV1o5+W2fPusosI8UFDsorAjgj3RvrQ== X-RZG-CLASS-ID: mo00 Received: from probook.fritz.box ([2001:a60:10b3:cf01:1ec1:deff:feb9:bb48]) by smtp.strato.de (RZmta 37.5 AUTH) with ESMTPSA id K06a6ar3NBPveCA (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve sect571r1 with 571 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Thu, 23 Apr 2015 13:25:57 +0200 (CEST) Received: by probook.fritz.box (Postfix, from userid 1000) id F001850292; Thu, 23 Apr 2015 13:25:56 +0200 (CEST) Date: Thu, 23 Apr 2015 13:25:56 +0200 From: Olaf Hering To: The development of GNU GRUB Subject: Re: passing options to grub in xen,openfirmware and efi Message-ID: <20150423112556.GA21978@aepfle.de> References: <20150423080306.GA15265@aepfle.de> <20150423094330.GA7326@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22.rev6346 (2013-10-29) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:238:20a:202:5300::12 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, 23 Apr 2015 11:32:17 -0000 On Thu, Apr 23, Andrei Borzenkov wrote: > On Thu, Apr 23, 2015 at 12:43 PM, Olaf Hering wrote: > > On Thu, Apr 23, Andrei Borzenkov wrote: > > > >> What I do not like is the possibility to blindly set any internal > >> variable (consider overriding of $prefix). I'd prefer to set variables > >> in separate namespace, like grub.arg.XXX=YYY for XXX=YYY argument and > >> let user figure out what to do with them. > > > > You mean if booted with 'boot hd:,grub foo=bar' a 'grub.arg.foo=bar' > > should be available? > > yes. Current grub_parse_cmdline seems to set foo=bar instead. Olaf