The f_mountdrv forces mounted the partition.
FRESULT f_mountdrv ();
The f_mountdrv mounts a partition (initializes FATFS structure) and put all file functions can be used. The file system is mounted (initialized) automatically in accordance with the necessity when any file function is called, so that any initialization is not needed before using file functions. To terminate use of the FatFs module, close all files and clear the global variable FatFs, then the FATFS structure can be discarded. In this function, following process is executed.