in reply to Case insensitive Filesystems.
Even with a "case-preserving" OS like windows (NT+), you should be able to readdir and check the names that way.