On Thu, Jul 2, 2009 at 4:53 PM, Yang Paulex <paulex.y...@gmail.com> wrote:

> 2009/5/8 Tim Ellison <t.p.elli...@gmail.com>
>
> >
> > [snip]
> >
>
>
> >
> > My initial thought is that it would be preferable to have the OS tell
> > you when a file path changes so you can invalidate the cache, but there
> > may not be enough info to be able to do that...
>
>
> It may be overkill, but Linux has a system call - inotify to send file
> change notification to registered directory.
>


   I have a straightforward approach. Maybe just kidding, hehe.
   If we can assume that most of file pathes put to check access has been
cannonicalized, we can first directly use them but the cannonical one as a
failover .

>
>
> Regards,
> Tim
>
>



-- 
Good luck!

Leo Li

Reply via email to