The f_mountdrv forces the partition mounted.
FRESULT f_mountdrv (void);
The f_mountdrv forces the partition mounted (initializes FATFS structure). The file system is initialized automatically in accordance with the necessity when any file function is called. This function should not be used except for recovering FR_INCORRECT_DISK_CHANGE error. Using this function, while any file is opened, can destroy the file system.
In this function, following processes are executed.