LDM_CREATE_DATA_PARTITIONS

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

ldm_create_data_partitions - Create data partitions for this device  

SYNOPSIS

"SYNOPSIS"

BOOL ldm_create_data_partitions (struct parsed_partitions * pp, const struct ldmdb * ldb);  

ARGUMENTS

pp
List of the partitions parsed so far
ldb
Cache of the database structures
 

DESCRIPTION

The database contains ALL the partitions for ALL disk groups, so we need to filter out this specific disk. Using the disk's object id, we can find all the partitions in the database that belong to this disk.

Add each partition in our database, to the parsed_partitions structure.

N.B. This function creates the partitions in the order it finds partition objects in the linked list.  

RETURN

TRUE Partition created FALSE Error, probably a range checking problem


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN

This document was created by man2html, using the manual pages.
Time: 04:40:52 GMT, October 06, 2005