The f_mount fucntion registers/unregisters a work area to the FatFs module.
FRESULT f_mount ( BYTE Drive, /* Logical drive number */ FATFS* FileSystemObject /* Pointer to the work area */ );
The f_mount function registers/unregisters a work area to the FatFs module. The work area must be given to the logical drive with this function before using any file function. To unregister a work area, specify a NULL to the FileSystemObject, and then the work area can be discarded.
This function only initializes the work area and registers its address to the internal table, any access to the disk I/O layer does not occure. Actual mounting process is performed in any other file funcitons with path name when it is needed.