Re: Using KAuth for Monitoring File Operations
Re: Using KAuth for Monitoring File Operations
- Subject: Re: Using KAuth for Monitoring File Operations
- From: Amanda Walker <email@hidden>
- Date: Fri, 15 Jun 2007 10:40:40 -0700
On Jun 15, 2007, at 9:45 AM, Michael Smith wrote:
If your product's aim is to have a complete backup copy of
everything, then you are better off waiting in the FILEOP scope for
last-close notifications with the modified flag set. This gives
you both the indication that the file is not being modified, and an
indication that it previously has been.
Right--but this is doing the copy after each modification (so you'll
have it already saved away when the next modification happens), not
on-demand just before the change, which is what Yogesh was asking for.
But you're quite right--if you're willing to do "backup just after
each change" instead of "backup just before each change", hooking
FILEOP scope in a Kauth module works very well.
--Amanda
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden