[gamin] Re: [RFC][PATCH] inotify 0.10.0



Robert wrote:
> A monitor on "/etc" will return "hosts" if hosts is modified.  Which I
> think is OK--we don't pass the entire path, nor do we want to if we
> could do it easily, for numerous reasons ..

How about returning the inode number?

Notice that this can be converted to the name without using stat, using
the d_ino field in the struct dirent returned from an opendir/readdir
loop.

-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj sgi com> 1.650.933.1373



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