On Jul 16, 2005, at 3:10 AM, Thomas Tempelmann wrote:
It sounds like the asynchronous interface that Spotlight uses
will probably be your best bet.
But doesn't do that some pre-filtering already? I like to know about
changes inside the /private tree, also in other "protected" folders the
user can choose.
No, the filtering is done by spotlight.
As long as I can learn the File ID while I do the recording, I should
be fine.
The interfaces available to you use paths, not File IDs
Which interfaces? I do not think I'll use Spotlight. Do you want to tell
me that the VNode number (which remains constant even if I move a file or
folder to a diffeent dir, right?) is not exposed anywhere outside of the
kernel-level file system?
Please go back to my first message, where I encouraged you to understand
how things work.
The vnode pointer, which is what the in-kernel interfaces are given,
is only valid for the duration of the call to those interfaces. There is no
such thing as "vnode number", and as I've also said, there is no guarantee
of a "persistent File ID".
= Mike