I've built the early stages of a Mass Storage Device loader for my 8-bit micro and I can write to it and read from it on a PC. What I was hoping to do was use this to transfer firmware updates and/or configuration files from a host using File Explorer drag-n-drop method. And it is working to a point. On Windows the reading and writing is pretty well behaved. But on Mac OS X and Linux (Ubuntu in this case) a bunch of hidden files and folders are written to the "drive" by the OS such as .Trashes and the like.
Any suggestions on how to either stop this behaviour on these OS's or to somehow be immune to it? Would there be another strategy rather than showing a writeable root directory to the host (user)? Perhaps some trick of the FAT or directory?