Re: [Nautilus-list] Directory change signals?



on 9/10/00 12:17 PM, Karl M. Hegbloom at karlheg bittersweet inetarena com
wrote:

> It would be neat if a program could register itself with the OS
> kernel in some way, asking to be informed of any modifications made
> by other processes to the contents of a directory.
> 
> How would that work?  A signal?  `poll' or `select' on the DIR?
> 
> You can `stat' the directory, and see if anything's happened in there
> since last time you checked it.  But it would be better if the kernel
> let you know when something happens, so you don't have to `stat'
> every time through a main loop.
> 
> Can Linux already do that?

The fam/imon package <http://oss.sgi.com/projects/fam/> is one way to do
this. We want to use it for a future Nautilus, but Nautilus 1.0 is designed
to work without it.

    -- Darin






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