.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "EFI_PARTITION" "" "06 October 2005" "" "" .SH NAME efi_partition \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int efi_partition (struct parsed_partitions * \fIstate\fB, struct block_device * \fIbdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIstate\fB\fR -- undescribed -- .TP \fB\fIbdev\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP called from check.c, if the disk contains GPT partitions, sets up partition entries in the kernel. .PP If the first block on the disk is a legacy MBR, it will get handled by \fBmsdos_partition\fR\&. If it's a Protective MBR, we'll handle it here. .PP We do not create a Linux partition for GPT, but only for the actual data partitions. .SH "DESCRIPTION" .PP called from check.c, if the disk contains GPT partitions, sets up partition entries in the kernel. .PP If the first block on the disk is a legacy MBR, it will get handled by \fBmsdos_partition\fR\&. If it's a Protective MBR, we'll handle it here. .PP We do not create a Linux partition for GPT, but only for the actual data partitions. .SH "RETURNS" .PP -1 if unable to read the partition table 0 if this isn't our partition table 1 if successful