[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1289859078.14282.28.camel@localhost.localdomain>
Date: Mon, 15 Nov 2010 17:11:18 -0500
From: Eric Paris <eparis@...hat.com>
To: Alexey Zaytsev <alexey.zaytsev@...il.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@...hos.com>,
linux-fsdevel@...r.kernel.org,
"stefan@...ttcher.org" <stefan@...ttcher.org>,
linux-kernel@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>
Subject: Re: A possible flaw in the fsnotify design.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists