Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758692Ab0KOWcd (ORCPT ); Mon, 15 Nov 2010 17:32:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:61678 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751239Ab0KOWcc (ORCPT ); Mon, 15 Nov 2010 17:32:32 -0500 Subject: Re: A possible flaw in the fsnotify design. From: Eric Paris To: Alexey Zaytsev Cc: Tvrtko Ursulin , linux-fsdevel@vger.kernel.org, "stefan@buettcher.org" , linux-kernel@vger.kernel.org, Al Viro In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 15 Nov 2010 17:11:18 -0500 Message-ID: <1289859078.14282.28.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 610 Lines: 17 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 -- 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/