Hi Tomás,

Sometime early this year, I saw a presentation about this feature being 
introduced into the kernel.  The idea is that apps like top, samba, Konqueror 
can indicate an interest in a file/directory and then sleep.  They would then 
be woken by a signal by the kernel when appropriate.

This would make the current inefficient polling method uneccessary.

I don't know when this is going to make it into a release kernel, but if 
you're looking at a long term project it may be worth looking into.

Gary

On Friday 14 December 2001 4:45 pm, Tomas Garcia Ferrari wrote:
> Hello,
>
> Is there any way of watching the content of a directory and fire some
> program / script when this changes? (I'm not talking of a cron job running
> every minute, but running ONLY when the content of the directory
> changes...)
>
> Thanks for enlightning me...
>
> Regards,
> Tomás
>
> +--                                         --+
>        Tomás García Ferrari
>        Bigital
>        http://bigital.com/
> +--                                         --+
>
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to