Closed OlliV closed 9 years ago
It seems that simultaneous reads/writes will cause fatfs to return more or less random errors and finally break it completely. Example:
# cat x cat: read error: EACCES (Permission denied)
EACCES was happening because we first internally opened the file with only FA_WRITE and then tried to read from it. fatfs should always open files as writable and then determine the mode in runtime.
It seems that simultaneous reads/writes will cause fatfs to return more or less random errors and finally break it completely. Example:
touch x