Turns out the difference in Mail searching All to searching Inbox is the
use of _kMDQueryScope=="/Users/$user/Library/Mail/V2/$account/$uuid/Data/*"
in the *search filter*. (Not ScopeArray).

So I can test it quicker and easier with "mdfind" now. Unsure why it fails
with any use of _kMDQueryScope (including _kMDQueryScope==/*) on all ZFS
volumes, but I guess I have a place to start from. Somewhere in
vfs_getattr, vnop_getattr, vfs_vget, vnop_getattrlist, vnop_getdirent etc I
must be doing something wrong.

Lund

-- 
Jorgen Lundman       | <lund...@lundman.net>
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      (Filesystem-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/filesystem-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to