From: Adrien <camaradetux@gmail.com>
To: "Orlin Grigorov" <ogrigorov@gmail.com>
Cc: caml-list@inria.fr
Subject: Re : [Caml-list] How to monitor a specific file for changes
Date: Mon, 22 Oct 2007 21:43:31 +0200 [thread overview]
Message-ID: <666572260710221243k5afa0317m7d523e09fd86f490@mail.gmail.com> (raw)
In-Reply-To: <b17e12b30710221230t15374864ha746026f45f2dbb4@mail.gmail.com>
As far as I remember MacOSX has a better support for monitoring file
system changes than Linux. In fact I remember reading a paper stating
it was unacceptable linux had no proper support for this while mac osx
has it.
You should probably have a look at the following page :
http://www.osxbook.com/software/fslogger/
Describing spotlight : "An in-kernel notification mechanism that can
inform user-space "subscribers" of file system changes as they
happen."
And about fslogger : "fslogger is a user-space program that subscribes
to the same file system event notification mechanism as the Spotlight
metadata server."
You'll probably need to embed C code in ocaml.
As for cross-platform solutions, hum, good luck...
---
Adrien Nader
next prev parent reply other threads:[~2007-10-22 19:43 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-22 19:03 Orlin Grigorov
2007-10-22 19:05 ` [Caml-list] " Robert Fischer
2007-10-22 19:09 ` Sylvain Le Gall
2007-10-22 19:11 ` [Caml-list] " Andrew Gacek
2007-10-22 19:20 ` Erik de Castro Lopo
2007-10-22 19:30 ` Orlin Grigorov
2007-10-22 19:38 ` Erik de Castro Lopo
2007-10-22 19:39 ` Jake Donham
2007-10-22 19:44 ` Orlin Grigorov
2007-10-22 19:42 ` Karl Zilles
2007-10-22 19:57 ` Orlin Grigorov
2007-10-23 7:50 ` Dave Benjamin
2007-10-23 17:17 ` Orlin Grigorov
2007-10-24 12:54 ` Richard Jones
2007-10-24 18:14 ` Karl Zilles
2007-10-24 21:56 ` Sylvain Le Gall
2007-10-22 19:43 ` Adrien [this message]
2007-10-22 19:59 ` [Caml-list] " Gordon Henriksen
2007-10-24 12:53 ` Richard Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=666572260710221243k5afa0317m7d523e09fd86f490@mail.gmail.com \
--to=camaradetux@gmail.com \
--cc=caml-list@inria.fr \
--cc=ogrigorov@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox