[PATCH 0/2] Native case-insensitive file-system support on Mac OS

Charles Davis cdavis at mymail.mines.edu
Wed May 19 20:09:20 CDT 2010


Hi,

Most UNIX-type systems don't support case-insensitive filenames. For this
reason, we fake case-insensitivity by madly searching through each directory
in a pathname, in effect implementing case-insensitive lookup ourselves. Un-
fortunately, to do this, we have to make a ton of syscalls, which dramatically
lowers performance.

The "solution" being considered right now is to have a FUSE file system that
does case-insensitive lookup for us, and use it for Wine's virtual drive C.
On Mac OS, however, there's no need for such foolishness, because it actually
supports case-insensitive lookup!

In a way, we're already taking advantage of it--halfway. If the file is
present, then we avoid the costly manual lookup because the kernel already
did it for us. If the file is NOT present, however, then we still "fake" it--
but only because we don't know any better. This patchset fixes that.

I've been running with this patchset for a while now, so I'm pretty sure it's
correct.

Chip




More information about the wine-patches mailing list