.\" 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_TOCBLOCKS" "" "06 October 2005" "" ""
.SH NAME
ldm_validate_tocblocks \- Validate the table of contents and its backups
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
BOOL ldm_validate_tocblocks (struct block_device * \fIbdev\fB, unsigned long \fIbase\fB, struct ldmdb * \fIldb\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIbdev\fB\fR
Device holding the LDM Database
.TP
\fB\fIbase\fB\fR
Offset, into \fIbdev\fR, of the database
.TP
\fB\fIldb\fB\fR
Cache of the database structures
.SH "DESCRIPTION"
.PP
Find and compare the four tables of contents of the LDM Database stored on
\fIbdev\fR and return the parsed information into \fItoc1\fR\&.
.PP
The offsets and sizes of the configs are range-checked against a privhead.
.SH "RETURN"
.PP
TRUE \fItoc1\fR contains validated TOCBLOCK info
FALSE \fItoc1\fR contents are undefined