• 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: 10.3 and filesystem notifications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.3 and filesystem notifications


  • Subject: Re: 10.3 and filesystem notifications
  • From: Eric Schlegel <email@hidden>
  • Date: Sun, 24 Aug 2003 20:57:45 -0700

On Sunday, August 24, 2003, at 12:56 PM, Bob T. Quone wrote:

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

I believe so, although I haven't tried it myself.

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).

No idea. Sounds highly dependent on the journalling implementation.

-eric
_______________________________________________
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.

References: 
 >10.3 and filesystem notifications (From: "Bob T. Quone" <email@hidden>)

  • Prev by Date: Re: syntax question: question marks
  • Next by Date: The resource fork
  • Previous by thread: 10.3 and filesystem notifications
  • Next by thread: difference between a method and function?
  • Index(es):
    • Date
    • Thread