Eric, What information are you trying to get out of each scan? You will always > have a time-of-use vs. time-of-check race condition here .. the filesystem > is in a perennial state of flux. >
That's one thing I was surprised about when using searchfs() on APFS vs. HFS+: On HFS, I'd frequently get the specific return code telling me that the btree has changed, meaning I should restart the search to make sure I don't miss nodes. However, I never see this with APFS. I did then assume, err, hope, that searchfs on APFS holds a temporary snapshot, thereby preventing changes to the searched tree. Are you saying that this is not the case, and even, that searchfs on APFS doesn't tell me about changed node order when it should? Thomas
_______________________________________________ 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