Messages in this thread | | | Date | Wed, 29 Sep 2004 20:05:25 -0700 | From | Paul Jackson <> | Subject | 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |