public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* real-time filesystem monitoring
@ 2004-02-02 14:19 Ognen Duzlevski
  2004-02-02 14:40 ` Jan Kokoska
  2004-02-02 14:52 ` Esben Stien
  0 siblings, 2 replies; 3+ messages in thread
From: Ognen Duzlevski @ 2004-02-02 14:19 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-02-02 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-02 14:19 real-time filesystem monitoring Ognen Duzlevski
2004-02-02 14:40 ` Jan Kokoska
2004-02-02 14:52 ` Esben Stien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox