[U-Boot] [PATCH] gpt: add part-uuid and part-num subcommands

Lukasz Majewski l.majewski at majess.pl
Thu Nov 9 09:55:41 UTC 2017


Hi Andrey,

> Hi Otavio,
> 
> On Wed, Nov 8, 2017 at 2:47 AM, Otavio Salvador
> <otavio.salvador at ossystems.com.br> wrote:
> > On Tue, Nov 7, 2017 at 10:43 PM, your name <yurovsky at gmail.com>
> > wrote:  
> >> From: Andrey Yurovsky <yurovsky at gmail.com>
> >>
> >> It is useful to be able to retrieve a partition UUID or number
> >> given the partition label, for instance some systems use the
> >> partition label to indicate the purpose of the partition (such as
> >> "rootfs0" being the 0th root file system in an A/B image scheme).
> >>
> >> Add "gpt part-uuid" to retrieve the partition UUID for a given
> >> label and "gpt part-num" to retrieve the partition number for a
> >> given label along with some documentation.
> >>
> >> Signed-off-by: Andrey Yurovsky <yurovsky at gmail.com>  
> >
> > Why not use the 'part' cmd? it provides it.  
> 
> Sorry, I missed the part cmd, it doesn't seem to be documented in doc/
> and it's unclear what <dev> means there.

If I may ask - Andrey, if you are now on this "topic" - would you dare
to add some ./doc entry for 'part' command?

> I'll investigate and see if I
> can use it for what I'm trying to do, it looks like it should work.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot



-- 
Best regards,

Ɓukasz Majewski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171109/ff9876a7/attachment.sig>


More information about the U-Boot mailing list