disk: part_msdos: parse and store partition UUID
authorStephen Warren <swarren@nvidia.com>
Fri, 21 Sep 2012 09:51:00 +0000 (09:51 +0000)
committerTom Rini <trini@ti.com>
Tue, 25 Sep 2012 22:05:45 +0000 (15:05 -0700)
commitd27b5f9398aba377ff2185fb4b8170eeca7c3b65
treee16e261eb090e9893b26001998973e5ee2d2bc11
parent894bfbbfb772de2f8640f91aee322f3cb2577cb7
disk: part_msdos: parse and store partition UUID

The MSDOS/MBR partition table includes a 32-bit unique ID, often referred
to as the NT disk signature. When combined with a partition number within
the table, this can form a unique ID similar in concept to EFI/GPT's
partition UUID.

This patch generates UUIDs in the format 0002dd75-01, which matches the
format expected by the Linux kernel.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
disk/part_dos.c
disk/part_dos.h