Unmount USB key on S2G2

Hi,

I'm using the USB host on S2G2 with SSP 1.7.8 for read/write files on an USB key :

Sometimes, the file system on the USB Key is corrupt :

Is there a way to unmount the USB key before unpluged it ?

Thanks,

Phil