Hi,
Are there many people around on the group who are actually using LARWE's dosfs in real apps?
I rather like its general style, and the code seems pretty good quality, but I'm actually starting to suspect it's pretty buggy.
Things I've noticed so far include:
Bug in root-directory allocation for new items in a root directory (this was mentioned in here last year by someone who posted a fix, thanks to him) Possible problems with FAT12 (I'm not actually using FAT12, but some of the code caused compiler warnings, and looks wrong to me) Doesn't seem to be able to seek properly (gets stuck in an infinite loop) seeking forward (I haven't debugged this yet - I think it's caused by seeking forward by exactly one cluster's worth of bytes, or something, which causes a loop in DFS_Seek to never complete.
Minor irritants are a lack of const-correctness and the use of uint8_t instead of char (though I'm sure there was a good reason for that).
I think I'm going to persist with it, but if there were other users who'd fixed problems, I would be interested in shared experiences.
I think Larwe himeself has moved on to other things now, which is fair enough - it's generous enough to have made it available in the first place, he certainly doesn't owe me free support.
Thanks,
Will