int efi_partition (struct parsed_partitions * state, struct block_device * bdev);
called from check.c, if the disk contains GPT partitions, sets up partition entries in the kernel.
If the first block on the disk is a legacy MBR, it will get handled by msdos_partition. If it's a Protective MBR, we'll handle it here.
We do not create a Linux partition for GPT, but only for the actual data partitions.
called from check.c, if the disk contains GPT partitions, sets up partition entries in the kernel.
If the first block on the disk is a legacy MBR, it will get handled by msdos_partition. If it's a Protective MBR, we'll handle it here.
We do not create a Linux partition for GPT, but only for the actual data partitions.
-1 if unable to read the partition table 0 if this isn't our partition table 1 if successful