[fpc-pascal] File monitoring Linux

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Sep 13 15:19:38 CEST 2011


On Tue, 13 Sep 2011 13:14:10 +0100
Martin Schreiber <mse00000 at gmail.com> wrote:

> Am 13.09.2011 13:05, schrieb Mattias Gaertner:
> > Hi,
> >
> > I'm searching some pascal code for file monitoring for Linux. That means
> > getting notified if a file in a directory or its sub directories was
> > modified.
> > I found some hints that people started it, but I can't find the result.
> > Any hints are greatly appreciated.
> >
> > Or has someone already implemented some bindings for inotify?
> >
> MSEgui has an implementation based on signals because inotify is not 
> available on old kernels.

Thanks. Luckily I don't need to support old kernels.

> lib/common/sysutils/msefilechange.pas.

Does this work with thousands of sub directories?

Mattias



More information about the fpc-pascal mailing list