Eero Saynatkari wrote:

/ ...

> I have to be assured that my cache is up-to-date, so I
> check the ctime each time anything in that directory
> is invoked--if there has been a change, I re-cache the
> directory.

Well, I ran my little program and added and removed files from the target
directory, with a printout on each change, so it appears to work for the
Linux kernel. Many Unices and similar operating systems will behave the
same.

-- 
Paul Lutus
http://www.arachnoid.com