Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753489AbXFVX3H (ORCPT ); Fri, 22 Jun 2007 19:29:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752132AbXFVX2z (ORCPT ); Fri, 22 Jun 2007 19:28:55 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:49927 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751385AbXFVX2z (ORCPT ); Fri, 22 Jun 2007 19:28:55 -0400 Date: Sat, 23 Jun 2007 00:28:51 +0100 From: Al Viro To: "C. Scott Ananian" Cc: Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: inotify and /proc? Message-ID: <20070622232851.GW21478@ftp.linux.org.uk> References: <200706220117.09966.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 688 Lines: 14 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//mounts does it. - 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/