Re: Duplicate entries in a file system...
Re: Duplicate entries in a file system...
- Subject: Re: Duplicate entries in a file system...
- From: Quinn <email@hidden>
- Date: Mon, 28 Jul 2003 13:55:45 +0100
At 13:33 -0400 9/7/03, Marek Kozubal wrote:
So does anyone know what would cause Carbon/Finder to create this
duplicate entry in the Finder window?
Just for closure, I thought I'd post the resolution to this. Marek
opened a DTS incident and we managed to track down the root cause of
the problem. Marek is working on a file system that pretends to be
HFS Plus in all ways. It turns out that the Finder contains a
special case for HFS Plus. If the files are coming from an HFS Plus
file system, the Finder assumes that it knows the order in which
items will be returned by FSGetCatalogInfoBulk (which is layered on
top of the BSD getdirentriesattr call). If the entries come back in
a different order, the Finder gets *very* confused, and displays the
symptoms Marek described.
The obvious resolution is that, if you're going to pretend to be HFS
Plus, you have to do so in all ways, including the sort order of
directory entries. I've also file a bug report to investigate
<rdar://problem/3338538> Apple's response to this.
S+E
--
Quinn "The Eskimo!" <
http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.