Re: [RFC][PATCH] inotify 0.10.0

From: Paul Jackson
Date: Wed Sep 29 2004 - 22:08:50 EST


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@xxxxxxx> 1.650.933.1373
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/