On Sun, 2005-08-28 at 08:25 +0100, Anton Altaparmakov wrote:
> Interestingly, the bug I thought was the problem was actually not the
> problem because by pure chance the code treated the "unhandled error code"
> the same way as a +1 collation, i.e. continue searching the index. And
> this is what the index lookup code does as well (both in Linux NTFS and
> Windows NTFS.sys), so by pure chance it actually happened to work.
>
> Thus I don't actually understand what was wrong with the index at all. It
> doesn't appear to be what I thought it was. I had remembered wrong that
> it should be -1 collation when in fact it should be +1 collation which is
> exactly how the code treated it.
>
> So I think the actual problem is still unknown.
I guess ntfs.sys in NT4 is buggy, and it get fixed in XP (AFAIU you too
used it for testing) or 2000. When I disabled check by
legal_ansi_char_array I received properly collated index after creation
of all those files and chkdsk had no problems with it. I think for >=
3.0 volumes we can remove this check at all. Not sure what about 1.2
version, will be great to test on NT4 what happens when it found such
properly collated index.
--
Best regards,
Yura
|