.\" 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 "LDM_VALIDATE_PRIVHEADS" "" "06 October 2005" "" ""
.SH NAME
ldm_validate_privheads \- Compare the primary privhead with its backups
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
BOOL ldm_validate_privheads (struct block_device * \fIbdev\fB, struct privhead * \fIph1\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbdev\fB\fR
Device holding the LDM Database
.TP
\fB\fIph1\fB\fR
Memory struct to fill with ph contents
.SH "DESCRIPTION"
.PP
Read and compare all three privheads from disk.
.PP
The privheads on disk show the size and location of the main disk area and
the configuration area (the database). The values are range-checked against
\fIhd\fR, which contains the real size of the disk.
.SH "RETURN"
.PP
TRUE Success
FALSE Error