ian reinhart geiser on Wed, 8 May 2002 16:41:15 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] programming: how to be notified when a directory changes?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

you will want something called LibFAM.

KDE uses this to speedup directory updates in the filemanager.  It interacts 
directly with the kernel so you are notified when an inode changes.

Cheers
- -ian reinhart geiser

On Wednesday 08 May 2002 10:27 am, Kyle R . Burton wrote:
> I'm contemplating writing a peice of software that I will want to have
> monitor a directory tree.  I want the software to be able to use something
> like select(2) or poll(2) so that it doesn't have to perform a busy-wait.
>
> At one point in my past I wrote software under that other operating system,
> which had functions that allowed you to register your program to be
> notified when these kinds of events happened.  I just don't know how to do
> it under Linux.
>
> Anyone have any advice?
>
>
> Thanks,
> Kyle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE82TbPPy62TRm8dvgRAv9mAKDF3reg0vFcMHlzldJb164JY6uTyACg3Aqk
K4KSISdpBcm47MvSZctu250=
=ihnT
-----END PGP SIGNATURE-----


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug