On 9/1/06, Paul Lutus <nospam / nosite.zzz> wrote:
> 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.

Actually, won't this behavior depend on the file system rather than the kernel?

I don't know about ctime, but some filesystems allow control over
whether other attributed like atime are maintained or updated.

-- 
Rick DeNatale

My blog on Ruby
http://talklikeaduck.denhaven2.com/