For completeness sake, I will post the answer here.

While looking at why Posfix fails to run (and thanks to its pedantic error
checking) it was discovered that setting FIONBIO on a FIFO would fail.
Although fixing FIFOs (named pipes) did not correct the Spotlight problem.

But while I was checking ioctl calls, I threw these in as they were missing;

                case 0x80006817: // HFSIOC_SET_ALWAYS_ZEROFILL
                case 0x8000680f: // HFSIOC_EXT_BULKACCESS
                        return 0;

and suddenly searching with _kMDQueryScope, and in Apple Mail, works as
expected.

Lund

-- 
Jorgen Lundman       | <[email protected]>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to