Re: inotify and /proc?

From: Al Viro
Date: Fri Jun 22 2007 - 19:29:07 EST


On Fri, Jun 22, 2007 at 06:51:10PM -0400, C. Scott Ananian wrote:

> No, clearly inotify on all files in /proc is not the right thing to
> do. But I'm writing support for "RDNSS in RA" -- IPv6 Router
> Advertisement messages can include a DNS server specification, which
> makes IPv6 completely autoconfiguring.

Why the hell do you need idiotify on it? Just make poll(2) work and
be done with that; see e.g. how /proc/<pid>/mounts does it.
-
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/