Our application can store data on a USB flash drive.
If the user removes the flash drive without running "umount" on the mount first, we always get the "do you want to scan and fix" error message in Windows when the drive is inserted in the PC.
I modified the mount script "/etc/udev/scripts/mount.sh" to add the "-o sync" option to make the accesses synchronous, but this did not make any difference.
Is there something else I need to set or do to fully flush all writes so the user can remove the USB drive at will without getting this error?
Thanks,
Peter Steinberg