10.3 and filesystem notifications
10.3 and filesystem notifications
- Subject: 10.3 and filesystem notifications
- From: "Bob T. Quone" <email@hidden>
- Date: Sun, 24 Aug 2003 12:56:56 -0700
I'm working on a program that needs to know when a change has been
made to the filesystem (and what the change is). I've looked at
FNNotify() and the related functions in files.h, but they have the
problem that they don't specify what happened, requiring me to search
the whole hard drive to see what changed. Since I'm trying to make this
a background program that picks up each change as it happens, searching
the whole drive is clearly not an option. After searching the archives
of this mailing list, I discovered that this question has been asked a
few times before, with the answer that there isn't a good way of doing
this. What I am wondering is:
1) Does 10.3, with the addition of kqueue/kevent, allow this
2) Since filesystem journaling was added in 10.2.2, is there any way of
using the journal file to discover changes. It seems like they would be
recorded there, but I'm not sure how to get to them (this would make my
program require a journaled filesystem, but I'm willing to accept that).
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.