[OpenAFS-devel] AFS vs UNICODE

Derrick Brashear shadow@gmail.com
Tue, 6 May 2008 10:52:17 -0400


>  Note that the problem is worse than might be inferred from your
>  description.  If a fileserver is installed which behaves as you suggest,
>  then when a MacOS X client creates a file with a name for which NFC and
>  NFD produce different code sequences, the fileserver will normalize to NFC
>  before creating the directory entry, and MacOS will be unable to look up
>  the entry in the resulting directory.  It'll be subtle, too, because the
>  MacOS client will update its local copy of the directory itself, with the
>  NFD filename, and won't notice the fileserver's change until either that
>  directory is changed by some other client or the directory data is evicted
>  from the MacOS client's cache (note that callback expiration is _not_
>  sufficient here -- the client can use "old" data in its cache as long as
>  it does a new RXAFS_FetchStatus and notices the DV hasn't changed).

I'm thinking there's a trick to be done with an "unexpected" DV change
such that LocalHero doesn't apply, avoiding this issue and forcing a
refetch.