the USB MFS hot un-plug issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

the USB MFS hot un-plug issue

825 Views
JerryFan
NXP Employee
NXP Employee

Some issue found on mqx4.0/mfs/examples/mfs_usb:

The fatfs failed to be remounted if unplugging the USB disk when copying files. Actually, when unplugging, the files opened must be closed, otherwise the MFS failed to be unmount because its handle list is not empty. Since tracking all the files opened and then closing them is kind of troublesome, added a new IOCTL  to close all open files. Please refer attachment for the code change.

And I recommand adding this feature to MFS.

Original Attachment has been moved to: Test.diff.svn000.tmp.diff.zip

Labels (1)
Tags (1)
0 Kudos
Reply
0 Replies