On 4/15/19 5:32 AM, Lucas Peixoto wrote:
So really, we don't have the function pointer to unmount and no one codeYou're right, the unmount operation isn't implemented in the FAT
fs_file_system_t struct. It should be possible to implement it easily,
Something along the lines of:
static int fatfs_unmount(struct fs_mount_t *mountp)
res = f_mount(NULL, &mountp->mnt_point, 1);
Should work fine, from a cursory read of the FAT filesystem driver. A
PR adding this to Zephyr would be appreciated.