
27 Jul
2022
27 Jul
'22
4:06 p.m.
On Wed, Jul 27, 2022 at 03:35:34PM +0200, Enric Balletbo i Serra wrote:
This implements the following command:
part type mmc 0:1 -> print partittion type UUID part type mmc 0:1 uuid -> set environment variable to partition type UUID
"part type" can be useful when writing a bootcmd which searches for a specific partition type to enable automatic discovery of partitions and their intended usage or mount point.
Signed-off-by: Enric Balletbo i Serra eballetbo@redhat.com
cmd/part.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
Seems reasonable. Please update some of the existing tests (I don't know if test/py/tests/test_gpt.py or test/py/tests/test_part.py or perhaps both would be easier) for v2.
--
Tom