• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: monitoring file modifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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() *|


  • Follow-Ups:
    • Re: monitoring file modifications
      • From: Ben Hines <email@hidden>
References: 
 >Re: monitoring file modifications (From: David Feldman <email@hidden>)

  • Prev by Date: Re: NewPtr vs malloc
  • Next by Date: Opening/Saving files via Sheets...
  • Previous by thread: Re: monitoring file modifications
  • Next by thread: Re: monitoring file modifications
  • Index(es):
    • Date
    • Thread