<< Previous | Next >>

mbr_MountPartition

int mbr_MountPartition( mbr_drive * drive, int pnum );

Description

Marks the partition as mounted. It is the higher level codes responsibility to verify that the fs_part pointer for a partition is not in use (null) as this would indicate that another system is in the process of mounting this device.

Parameters

drive
Pointer to a drive structure

pnum
Partition number to be mounted

Return value

0 for success
-EINVAL if Drive or Partition structure or pnum is invalid.
-ENOPART if Partition does not exist on the device.

Library

PART.LIB


Dynamic C Functions << Previous | Next >> rabbit.com