From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1a471q-0003a0-SN for mharc-grub-devel@gnu.org; Wed, 02 Dec 2015 08:01:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a471n-0003YM-V7 for grub-devel@gnu.org; Wed, 02 Dec 2015 08:01:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a471n-00053O-2P for grub-devel@gnu.org; Wed, 02 Dec 2015 08:00:59 -0500 Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:36176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a471m-00053A-Sm for grub-devel@gnu.org; Wed, 02 Dec 2015 08:00:58 -0500 Received: by oiww189 with SMTP id w189so23836868oiw.3 for ; Wed, 02 Dec 2015 05:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=pCrZcEEhWXBtW+QQxNxsf/3xNOZxWDvfha+NVCvr2R4=; b=sbih5bPxXRrVv7RKCdoTXd2xeM9OLgtWWQaqNDRND3ZNUK0YrldXrMtgX0QWRx4KM2 5VUTqMsjLmMUbWa9iJVOjbM4kt7sEmAXr0fkY0/DV4EJSkBV/t/ikn6r+R88Vi+ac2S1 chg7B1h9AtVyitI4NrkDitF72DWNRwwb6OcLUpFQUHAtG0ISlDN6HQb2LpQMEon8er5M mULSh4IwVC245JML4ljFxizyZYlrEMtcIlNJeKL6q0gM5Elj1FnM6sG472GBYdJMvvS6 1WQbP4tEnb3X1FSkIm2hxB8ZScQtwP+AXGIpTCiV2NlZH570ojfGWmHMjCy4wbobLNLt dbtw== MIME-Version: 1.0 X-Received: by 10.202.192.87 with SMTP id q84mr2355863oif.59.1449061258079; Wed, 02 Dec 2015 05:00:58 -0800 (PST) Received: by 10.202.102.151 with HTTP; Wed, 2 Dec 2015 05:00:57 -0800 (PST) In-Reply-To: References: <563999B9.7020108@gmail.com> <5643845E.9060204@gmail.com> <5646B275.5040707@gmail.com> <56586384.1030504@gmail.com> <565ABE97.5060109@gmail.com> Date: Wed, 2 Dec 2015 16:00:57 +0300 Message-ID: Subject: Re: Grub get and set efi variables From: Andrei Borzenkov To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::230 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: Wed, 02 Dec 2015 13:01:00 -0000 On Wed, Dec 2, 2015 at 3:53 PM, Ignat Korchagin wrote: > Let's add utf16 later then (if needed). I also noticed a typo in one > error string in my above patch (it was checking that command receives > one argument, but prints that two arguments expected), so here is the > updated one. > It is much more difficult to remove anything than to add it later. Unless we have use case right now, I'd skip it. > So, finally, should I remove the "raw" parser (as per Vladimir's > request). Personally, I would keep it. It might be useful to modify > the hexdump command, that it can dump the contents of a variable. Then > those pieces will fit together: storing raw value in the variable and > examining it with hexdump cmd. > hexdump does not support showing variable if that is what you mean. By the same logic, unless we have current use case we probably should not add it initially.