.\" 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_PARTITION_TABLE" "" "06 October 2005" "" "" .SH NAME ldm_validate_partition_table \- Determine whether bdev might be a dynamic disk .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp BOOL ldm_validate_partition_table (struct block_device * \fIbdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbdev\fB\fR Device holding the LDM Database .SH "DESCRIPTION" .PP This function provides a weak test to decide whether the device is a dynamic disk or not. It looks for an MS-DOS-style partition table containing at least one partition of type 0x42 (formerly SFS, now used by Windows for dynamic disks). .PP N.B. The only possible error can come from the read_dev_sector and that is only likely to happen if the underlying device is strange. If that IS the case we should return zero to let someone else try. .SH "RETURN" .PP TRUE \fIbdev\fR is a dynamic disk FALSE \fIbdev\fR is not a dynamic disk, or an error occurred