lib/fatfs_glue.c
/*
 * fatfs_init - Register the FAT file system with the virtual file system
 *
 *  This method will store the FAT filesystem in a list that will allow
 *  mounting at a later time.
 *
 */
Register the FAT file system with the virtual file system
This method will store the FAT filesystem in a list that will allow
mounting at a later time.
Register the FAT file system with the virtual file system This method will store the FAT filesystem in a list that will allow mounting at a later time .
int fatfs_filesystem_register(void)
{
  vfs_register_filesystem(FILESYSTEM_TYPE_FAT,
                          &g_fs_ops,
                          mount_fs,
                          umount_fs);
  vfs_register_filesystem(FILESYSTEM_TYPE_EXFAT,
                          &g_fs_ops,
                          mount_fs,
                          umount_fs);
  return OK;
}
int fatfs_filesystem_register ( void ) { vfs_register_filesystem ( FILESYSTEM_TYPE_FAT , & g_fs_ops , mount_fs , umount_fs ) ; vfs_register_filesystem ( FILESYSTEM_TYPE_EXFAT , & g_fs_ops , mount_fs , umount_fs ) ; return OK ; }
fatfs_init - Register the FAT file system with the virtual file system
  This method will store the FAT filesystem in a list that will allow
  mounting at a later time.
fatfs_init - Register the FAT file system with the virtual file system This method will store the FAT filesystem in a list that will allow mounting at a later time .