That's simply not possible as 'trejan' has said.Which method I should follow if I want Raspberry pi to act as a USB Storage Device and it should be able to read and write simultaneously.
The only way is to mount it for access by the remote device, unmount it for access by the Pi. The Pi cannot access it while mounted and the remote device cannot access it until the Pi remounts it again.
It is potentially possible to have both sides writing and reading provided they only write to sectors within already created files but that can still be problematic and I don't believe Linux allows that.
This is a limitation of USB MSD which was never designed nor intended for what you, me, and a whole lot of others, would like.
Statistics: Posted by hippy — Thu Feb 01, 2024 4:21 pm