gptfdisk: Provide sgdisk_read for direct reads of the partition table

This allows volume manager to read the partition table via a simple
function call instead of doing a popen() and parsing the output.

Change-Id: I1d8ec6d5c03dc62d2b6b498efe02b41b1b11be46
2 files changed