EFI_PARTITION

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

efi_partition -  

SYNOPSIS

"SYNOPSIS"

int efi_partition (struct parsed_partitions * state, struct block_device * bdev);  

ARGUMENTS

state
-- undescribed --
bdev
-- undescribed --
 

DESCRIPTION

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.  

DESCRIPTION

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.  

RETURNS

-1 if unable to read the partition table 0 if this isn't our partition table 1 if successful


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION
RETURNS

This document was created by man2html, using the manual pages.
Time: 00:02:07 GMT, October 09, 2005