This function is called by f_mountdrive() to mount and map a new drive.


extern int fs_mount_ramdrive (
    void *        vol_dsc,
    FS_PHYGETID   phyfunc )


Argument Description Type
vol_dsc The volume descriptor of the volume to mount. void *
phyfunc The physical driver. FS_PHYGETID

Return values

Return value Description
0 Drive successfully mounted.
FS_VOL_NOTFORMATTED Drive is mounted but is not formatted.
FS_VOL_NOMEMORY Not enough memory, drive is not mounted.
FS_VOL_DRVERROR Mount driver error, not mounted.