<< Previous | Next >>

fat_MountPartition

int fat_MountPartition( fat_part *part );

Description

Marks the enumerated partition as mounted on both the FAT and MBR level. The partition MUST be previously enumerated with fat_EnumPartition().

This function is called by fat_AutoMount() and fat_Init().

Parameter

part
Pointer to the FAT partition structure to mount.

Return value

0: success.
-EINVAL: device or partition structure or part is invalid.
-EBADPART: the partition is not a FAT partition.
-ENOPART: the partition does not exist on the device.
-EPERM: the partition has not been enumerated.
-EACCESS: the partition is already linked to another fat_part structure.
-EBUSY: the device is busy. (Only if non-blocking.)

Library

FAT.LIB

See Also

fat_EnumPartition, fat_UnmountPartition


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