I'm working on a FUSE driver for a file system with a 12-character limit to the length of directory entries (over which I have no control). When creating a new folder with the Finder, if I simply return -ENAMETOOLONG from mkdir() or rename(), I cannot create new folders (on an english OS). If I make a directory with a shortened name and return no error, though, the Finder gets confused when it calls getattr(), readdir(), etc. since the directory it just created can't be found.
Has anyone run into this issue? Is there a reasonable workaround or hint to the Finder to use a different default name?
Thanks, Jeremy