After more testing and communications with Apple engineers and other devs
relying on this function I like to post a summary, in case anyone else is
interested in using the CatSearch operation with APFS:
1. searchfs() is implemented for APFS on 10.12.6 and 10.13b3 (and earlier
versions probably,
FSCatalogSearch is part of the deprecated Carbon File Manager API. The Carbon
File Manager API exposes file IDs and directory IDs as 32-bit values and so
FSCatalogSearch will never be supported on APFS (which use 64-bit file IDs and
directory IDs).
In 10.13:
• PBCatSearch on APFS volumes will
I believe searchfs(2) was not implemented in last year’s releases, but it
should have been there starting with the WWDC build this year.
Eric
> On 6 Jul 2017, at 10:42 AM, Thomas Tempelmann wrote:
>
> I was kindly informed that 10.12 already supports searchfs (and
>
I was kindly informed that 10.12 already supports searchfs (and
FSCatalogSearch along with it) on APFS, and after doing some testing myself
it turned out that it's all working as intended, and that I just did the
testing wrong, on my misguided assumptions, along with using an outdated
version of