The f_mountdrv forces the partition mounted.
FRESULT f_mountdrv (void);
The f_mountdrv forces the partition mounted (initializes FATFS structure). This function should not be used except for recover FR_INCORRECT_DISK_CHANGE error. The file system is initialized automatically in accordance with the necessity when any file function is called.
To terminate use of the FatFs module, close all files and then the FATFS structure can be discarded. In this function, following process is executed.