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

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Nov 8 10:47:21 UTC 2017


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.


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list