From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1bYmmq-0006Bo-Iw for mharc-grub-devel@gnu.org; Sun, 14 Aug 2016 00:12:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53520) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYmmo-0006B5-9i for grub-devel@gnu.org; Sun, 14 Aug 2016 00:12:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYmml-0006sT-8r for grub-devel@gnu.org; Sun, 14 Aug 2016 00:12:33 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:38553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYmmk-0006sH-Tl for grub-devel@gnu.org; Sun, 14 Aug 2016 00:12:31 -0400 Received: by mail-wm0-x22d.google.com with SMTP id o80so45180824wme.1 for ; Sat, 13 Aug 2016 21:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=m0V16FxUyGchyHTY0Pva0m+GxcjUDJBMLNI+3vzhsHo=; b=hqQpBzeZJEWtEkXhrFEfqWpK6cw/sacOeO8KfYZJNlUqiYjVFV68BTLA7ee751dY9h ljK9JKVAogGQaYA9a2szE1G3VpFv8Fyta7UaU+zr4qE7rlp+6Z0Lalv8ak5wWgwWvzV2 FemFoRAJ8Gcu8IVEp81Vz9/E/UhCuXuwHtAY7ZIh9H2OJtgOXm3HMBF+Fvu35xpva8l4 HK6XVUghZDomoz2+en4EVh7pb5x9bt7L3zaO0k1EFeB/PrpXoG1a/LWni3u8UeVfzBss +XBX0H4MXsMz1Hew1/iqRe1CTfpFJYEYOJPyQWf5GkYv7/SR7gHI0TVhoTVIq5cFAyr3 BNXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=m0V16FxUyGchyHTY0Pva0m+GxcjUDJBMLNI+3vzhsHo=; b=kvHA+Yf2BsqphvUvl5smLRyXpFk38D65ykSPEKqMpHLUpHn0+/8q2EZBnoXfi+0lof 4eFa47PHMeKZEdlCXj5WmLpLUZcIqSNQyvWPlWj2CUtvvRe+4BLF0YsywTWBTdjQ5kBP FhFN/GUOz5tNqjgOiEZy+YaLtvA/67TAS9OmyG6zRDpDe/PwzufaAoholiiDb2bJv74Z SR9csvvLKcpbyCLOd73rNEnpWmClrzYb3ouaWsexXxu1fNDX2BEnPVPuQfpRbLGqQUNw c4j3fB8ZsFwo6JxBHHkTBa33Bp9n+0ph6sdF3kZceDcMVQrOLUeOdZFRAqoOEhOWcV0/ ggHg== X-Gm-Message-State: AEkoouuONN9DN6e4DbeXS8CkZ5jv8t9iqBPgxiHVB7u7goTza8gfvfylnuD3peiDfIUmQYEmk1h+DeUCx+PYlQ== X-Received: by 10.194.105.201 with SMTP id go9mr22927407wjb.177.1471147949916; Sat, 13 Aug 2016 21:12:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.238.198 with HTTP; Sat, 13 Aug 2016 21:12:29 -0700 (PDT) In-Reply-To: References: <57AF593D.4090608@gmail.com> From: Michael Zimmermann Date: Sun, 14 Aug 2016 06:12:29 +0200 Message-ID: Subject: Re: Grub module to return partuuid of a device such as (hd0, gpt1) at boot time To: The development of GNU GRUB Cc: skenton@ou.edu Content-Type: multipart/alternative; boundary=e89a8fb1ea8af788ca053a0052b4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d 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: Sun, 14 Aug 2016 04:12:35 -0000 --e89a8fb1ea8af788ca053a0052b4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Not sure why, but whatever reply I chose Thunderbird and Gmail only reply to list. no idea about thunderbird but in GMail you have the small arrow beneath the reply buttons, click it and select "Reply to all". On Sat, Aug 13, 2016 at 8:40 PM, Andrei Borzenkov wrote: > 13.08.2016 20:30, adrian15 =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > What's your use case? > > > > Well, this has been requested before and this is supported by Linux > kernel. So as long as this does not increase core modules size (i.e. is > done outside of partition probing core) I think it will be OK. > > > adrian15 > > > > El 12/08/16 a las 16:11, Steve Kenton escribi=C3=B3: > >> As far as I can tell there is no search module that can be used to get > >> the partuuid at boot time given a grub root device such as (hd0,gtp1).= I > >> think is would be a useful addition since the resulting partuuid could > >> be passed directly to the kernel as root=3DPARTUUID=3Dxxx and it does = not > >> seem like it should be hard to do. Am I missing something obvious? And= , > >> before I jump end the deep end of the pool and try to write it, is > >> anyone else working on something similar? > >> > > There was recent patch series that adds support for user-space > grub-probe. Would be good if implementation can be shared. I do not want > to add any special code to handle partitions UUID to core as this is > very special case of really one partition type only, used infrequently > and can be entirely handled by usual device iteration. > > >> Not subscribed, please cc me on reply. > >> > > Not sure why, but whatever reply I chose Thunderbird and Gmail only > reply to list. > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > --e89a8fb1ea8af788ca053a0052b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> Not sure why, but wh= atever reply I chose Thunderbird and Gmail only
reply to list.
no idea about thunderbird but in GMail you h= ave the small arrow beneath the reply buttons, click it and select "Re= ply to all".

On Sat, Aug 13, 2016 at 8:40 PM, Andrei Borzenkov <ar= vidjaar@gmail.com> wrote:
1= 3.08.2016 20:30, adrian15 =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> What's your use case?
>

Well, this has been requested before and this is supported by Linux<= br> kernel. So as long as this does not increase core modules size (i.e. is
done outside of partition probing core) I think it will be OK.

> adrian15
>
> El 12/08/16 a las 16:11, Steve Kenton escribi=C3=B3:
>> As far as I can tell there is no search module that can be used to= get
>> the partuuid at boot time given a grub root device such as (hd0,gt= p1). I
>> think is would be a useful addition since the resulting partuuid c= ould
>> be passed directly to the kernel as root=3DPARTUUID=3Dxxx and it d= oes not
>> seem like it should be hard to do. Am I missing something obvious?= And,
>> before I jump end the deep end of the pool and try to write it, is=
>> anyone else working on something similar?
>>

There was recent patch series that adds support for user-space
grub-probe. Would be good if implementation can be shared. I do not want to add any special code to handle partitions UUID to core as this is
very special case of really one partition type only, used infrequently
and can be entirely handled by usual device iteration.

>> Not subscribed, please cc me on reply.
>>

Not sure why, but whatever reply I chose Thunderbird and Gmail only<= br> reply to list.


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-de= vel

--e89a8fb1ea8af788ca053a0052b4--