Re: monitoring file modifications
Re: monitoring file modifications
- Subject: Re: monitoring file modifications
- From: James Duncan Davidson <email@hidden>
- Date: Sat, 08 Dec 2001 14:17:57 -0800
On 12/7/01 09:35, "David Feldman" <email@hidden> wrote:
>
> No. You will need to poll the directory. OS X does not support file
>
> system notifications.
>
>
That's unfortunate. Presumably if one were well-versed enough (which I'm
>
not) one could modify Darwin to support it?
Surely. IIRC a conversation I had with a friend of mine who used to work at
SGI, Irix had file system change notifications. However, even if you
modified Darwin, you'd still have to figure out how to get that modification
to your users. I'd hate to install a KEXT or three to be able to use a
program. Ick.
Also, you'd want to be able to detect changes even if your program wasn't up
and running. There's lots of code out there to do this sort of thing in the
world. Check "rsync" -- it's already in the Darwin layer of OS X and might
help you.
|* x180:james duncan davidson email@hidden *|
|*
http://www.x180.net/ !try; do() *|