Got caught out with this nice error today; The data area passed to a system call is too small
I was creating a file and writing some text to it. The problem was that although the file was writing to disk correctly I couldn’t write any contents to it. Turns out it was because the full path file length was 256. Given that as soon as you write to iso store the path has already consumed ~100 chars you have to be really tight with your allowed app-relative paths. Should also be filed under, ‘why OS, why only 256!’