From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Added inotify support. Date: Fri, 05 Oct 2012 19:15:51 +0200 Message-ID: <83sj9s7sc8.fsf@gnu.org> References: <2181827.T3JxG88qQt@descartes> <83lifoa7hr.fsf@gnu.org> <87obkkcu92.fsf@wanadoo.es> <87lifkvoxl.fsf@spindle.srvr.nix> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1349457343 23848 80.91.229.3 (5 Oct 2012 17:15:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 17:15:43 +0000 (UTC) Cc: ofv@wanadoo.es, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Nix Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 05 19:15:48 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TKBV4-0005Uo-P0 for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 19:15:46 +0200 Original-Received: from localhost ([::1]:53103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBUy-0004xp-Ml for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 13:15:40 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBUv-0004xK-Mh for emacs-devel@gnu.org; Fri, 05 Oct 2012 13:15:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKBUu-0001Bq-N8 for emacs-devel@gnu.org; Fri, 05 Oct 2012 13:15:37 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:47072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBUu-0001Bj-E3 for emacs-devel@gnu.org; Fri, 05 Oct 2012 13:15:36 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MBF00C00JLLY600@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Fri, 05 Oct 2012 19:15:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBF00CMDJXYZ000@a-mtaout23.012.net.il>; Fri, 05 Oct 2012 19:15:34 +0200 (IST) In-reply-to: <87lifkvoxl.fsf@spindle.srvr.nix> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154090 Archived-At: > From: Nix > Emacs: Lovecraft was an optimist. > Date: Fri, 05 Oct 2012 17:55:34 +0100 > Cc: =D3scar Fuentes , emacs-devel@gnu.org >=20 > Of course you can't rely on inotify rather than polling, because in= otify > simply silently omits all changes that come from other hosts when a= n fs > is mounted or exported over the network. inotify and friends are on= ly > spying on local VFS traffic If this is true (I don't see this limitation in the inotify(7) man page), it is specific to inotify. The MS-Windows equivalents work fo= r exported filesystems as well. Nevertheless, the general observation is correct: these notifications are not 100% reliable. Even for local filesystems, if the event queu= e overflows, events are thrown away without being reported.