mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ognen Duzlevski <maketo@sdf.lonestar.org>
To: linux-kernel@vger.kernel.org
Subject: real-time filesystem monitoring
Date: Mon, 2 Feb 2004 14:19:05 +0000 (UTC)	[thread overview]
Message-ID: <Pine.NEB.4.58.0402021412150.12346@mx.freeshell.org> (raw)

Hi,

I am working on a GPL-ed tool to monitor a filesystem in real time and
then perform a backup as soon as something has changed. In that direction
I tried FAM/libfam and dnotify and both choked on large directory
hierarchies. dnotify seems to require open file descriptors so it is not a
good solution unless one is to carefully control the number of the file
descriptors open and perform (sometimes large and slow) directory
re-reads every time there is some change (whose nature dnotify will not
report). I wanted to also port the code to Windows and provide a free
solution for its users and it turns out implementing such a solution on
Windows is much easier - there is a function called ReadDirectoryChangesW
which will notify an application every time there is a filesystem-wide
change and provide all information about this change. Anything similar on
Linux?

Thank you,
Ognen

             reply	other threads:[~2004-02-02 14:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02 14:19 Ognen Duzlevski [this message]
2004-02-02 14:40 ` Jan Kokoska
2004-02-02 14:52 ` Esben Stien

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=Pine.NEB.4.58.0402021412150.12346@mx.freeshell.org \
    --to=maketo@sdf.lonestar.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®