From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Paris Subject: Re: A possible flaw in the fsnotify design. Date: Mon, 15 Nov 2010 17:11:18 -0500 Message-ID: <1289859078.14282.28.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Tvrtko Ursulin , linux-fsdevel@vger.kernel.org, "stefan@buettcher.org" , linux-kernel@vger.kernel.org, Al Viro To: Alexey Zaytsev Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Tue, 2010-11-16 at 01:05 +0300, Alexey Zaytsev wrote: > Just some thoughts. > > Consider the situation: Files A and B both point to the same inode. > File A is being watched, but the user won't get notifications if B is > modified. That's not true. Users watch inodes, not files (this is true for both inotify and fanotify). Give it a try, it works. -Eric