#10 Use monitoring from gnome-vfs instead of polling


Gnome-vfs provides support for file and directory
monitoring without any polling, see

This would be applicable to all local protocols (file,
mh and maildir) and give instantaneous updates (which
is even faster than the 1 second requested in 900371)
without any system load.


  • Nicolas Rougier

    Nicolas Rougier - 2004-09-04

    Logged In: YES

    I'm not sure there is no system load.
    Unless there exists such a thing as a "file change" signal
    emitted from the kernel, I don't really see how gnome-vfs
    can implement such a thing without regular checking, which
    is basically the same as what gnubiff is doing.
    Furthemore, since gnubiff can also be compiled (and it is)
    without gnome support, I cannot use gnome-vfs for protocols.

  • Henryk Plötz

    Henryk Plötz - 2004-09-05

    Logged In: YES

    Well yes, that's the whole idea: Never poll. (BTW: Polling
    is not exactly a technique of the 21th century.)

    gnome-vfs does this via fam, which uses a kernel interface
    where available (IMon or DNotify, available on Irix and
    pretty much every Linux), goes through a remote famd in case
    of NFS mounts or polls if all else fails.

    I agree that the gnome documentation is a bit short on that
    issue, there is a much better one on fam at

    But nevermind, I just found
    http://www.nongnu.org/mailnotify/ which does almost
    everything I want from a biff tool and does not poll.

  • Nicolas Rougier

    Nicolas Rougier - 2004-10-23

    Logged In: YES

    I used directly the File Alteration Monitor and it seems to
    be working ok so far. This will be available in the next
    major release of gnubiff.

  • Nicolas Rougier

    Nicolas Rougier - 2004-10-23
    • status: open --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks