.\" 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 "IS_PMBR_VALID" "9" "09 October 2005" "" "" .SH NAME is_pmbr_valid \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int is_pmbr_valid (legacy_mbr * \fImbr\fB, u64 \fIlastlba\fB); \fR .SH "ARGUMENTS" .TP \fB\fImbr\fB\fR pointer to a legacy mbr structure .TP \fB\fIlastlba\fB\fR last_lba for the whole device .SH "DESCRIPTION" .PP Returns 1 if PMBR is valid, 0 otherwise. .SH "VALIDITY DEPENDS ON TWO THINGS" .PP 1) MSDOS signature is in the last two bytes of the MBR 2) One partition of type 0xEE is found