Add a new API call to check whether the filesystem is attached to card10 or to a connected USB host (in which case it is unavailable to card10). Make the menu check this and automatically exit "USB storage mode" when a host ejects the device.
Add a new API call to check whether the filesystem is attached to card10 or to a connected USB host (in which case it is unavailable to card10). Make the menu check this and automatically exit "USB storage mode" when a host ejects the device.