Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bZHq5-0000RH-Td for mharc-grub-devel@gnu.org; Mon, 15 Aug 2016 09:22:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ8tE-0006M4-EA for grub-devel@gnu.org; Sun, 14 Aug 2016 23:48:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZ8t9-0005BN-4N for grub-devel@gnu.org; Sun, 14 Aug 2016 23:48:40 -0400 Received: from resqmta-ch2-08v.sys.comcast.net ([69.252.207.40]:39491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ8t8-0005BC-Th for grub-devel@gnu.org; Sun, 14 Aug 2016 23:48:35 -0400 Received: from resomta-ch2-19v.sys.comcast.net ([69.252.207.115]) by resqmta-ch2-08v.sys.comcast.net with SMTP id Z8s9bMKKK84vjZ8s9bH1aY; Mon, 15 Aug 2016 03:47:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1471232853; bh=z1X8n3phjhFfjzLTs0om61vvGlAxWImv81OedZFZw1Q=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=sik1VrM1rgEwHp34jaKmDla8dnZOnelQgwW3aAtfSbRQ+0LFPMyzjOFMaGDw+FX8a zeke179N+Na5ECBnmccIYFS67nbgevYauWfrJ2hFEMQ6z3llWhT2ICu3x6TDTsPzdP bH8hkpxY6QZWNsyPPNCP0o9uo94jQgc3FDB4tlJLGXsrTJvBsYkrApM8WUPH1pIm86 0cr6rNXp91ei3Q7Pjil/6ZhnKvBtIZOO+aDjP4oIG0h0pcA7ER+OO5sPIcgJ1cQRkH bw/Ibu2zR3lYIlnAHy+hlHROFWXH/c6SvcU/mNcaQCyI3k45SyWRyLpt4RiKWbtS9f nrXhrUBKx8wdg== Received: from [IPv6:2601:602:9c00:cf41:a15c:1ca:cdf1:57a3] ([IPv6:2601:602:9c00:cf41:a15c:1ca:cdf1:57a3]) by comcast with SMTP id Z8s6b2s0ekIEeZ8s9bhfaK; Mon, 15 Aug 2016 03:47:33 +0000 Subject: Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time To: skenton@ou.edu References: <5023d411-cec2-71b1-98f2-6720ec236534@comcast.net> <7E1F1C78-2886-4675-82A5-372EA5601706@ou.edu> Cc: The development of GNU GRUB From: Nick Vinson Message-ID: <1252e04e-14d3-5ec0-4c4a-3464335fcf56@comcast.net> Date: Sun, 14 Aug 2016 20:47:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <7E1F1C78-2886-4675-82A5-372EA5601706@ou.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfDsblBKtyYOGMEXilmZEcuXVKDL88HEwkCO+2YQ+KPYNV2h0Tty4jh1Ve9JtbXbUKJtkT9grOGLGFTPmhDiBuXP0QE5TOA0y7TTUBNATlgP1/MovyREa 29iUDwRC9ADnUqUA4GUCiirlssHBsiW1ab/KyROojSYpjTkXcBP2xFxYXvd/MXVWUjpAYLs7lop1wtyX8ttMu/baeXT4rSPFyNc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 69.252.207.40 X-Mailman-Approved-At: Mon, 15 Aug 2016 09:21:59 -0400 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Aug 2016 03:48:41 -0000 On 08/14/2016 07:58 PM, skenton@ou.edu wrote: > I think yours is in Linux user space while mine is grub boot time. I > sent a second concept patch based on feedback and suggestions for a > small change to grub probe command to set environment variable to guid > of partition. Gpt partition guid is array of 16 uchar which is a bother. > Do you access it directly too? Yes I read that from the disk as well. If you want to see my approach, it's in the probe_partuuid() function (see: http://lists.gnu.org/archive/html/grub-devel/2016-08/msg00019.html) There's also an older version of this patch set that I submitted back in June. You may find the review comments helpful. The link to the comments are: http://lists.gnu.org/archive/html/grub-devel/2016-07/msg00043.html Thanks, Nicholas Vinson > > On August 14, 2016 9:43:14 PM CDT, Nick Vinson wrote: > > Steve, > > I'm not part of the mailing list and I only periodically check it. > However, I was wondering if your request is the same as the code request > that I made earlier this month > (http://lists.gnu.org/archive/html/grub-devel/2016-08/msg00018.html). > If not could you tell me how it's different? If they're different, it > might be worthwhile to combine our efforts into a single code change. > > Let me know what you think, > Nicholas Vinson > > > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity.