[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Added inotify support.

From: Stefan Monnier
Subject: Re: [PATCH] Added inotify support.
Date: Fri, 05 Oct 2012 14:22:16 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

> Of course you can't rely on inotify rather than polling, because inotify
> simply silently omits all changes that come from other hosts when an fs
> is mounted or exported over the network.

Of course, it also doesn't help when Emacs is built without inotify.
The main questions would then be:
- how often does it work?  I think this is likely to be "often" since it
  should work for most/all the "home desktop" as well as laptop use cases.
- can we reliably determine whether it will work?
  IIUC inotify works reliably for local file-systems (even if they're
  exported because the other hosts's actions will be locally performed
  by the nfsd) but not for file-systems mounted from a remote host.
  Can inotify inform Emacs that its notices won't be reliable (so Emacs
  can decide to use polling instead)?
> inotify and friends are only spying on local VFS traffic, which in my
> experience makes them less than useful for most applications.

Aren't they used by most GUI file managers?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]