mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* No error when inotify_add_watch(/an/NFS/file)
@ 2007-11-23 23:20 Phil Endecott
  2007-11-24 19:59 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Phil Endecott @ 2007-11-23 23:20 UTC (permalink / raw)
  To: linux-kernel

Dear Experts,

NFS doesn't work with inotify (and it looks like it can't, certainly 
not before NFS v4.1).  However, if I give an NFS filename to 
inotify_add_watch(), I don't get an error.

If it indicated an error in this case then I could easily fall back to 
some sort of polling.  Without an error, I need some other way to 
detect NFS (and any other non-inotify-compatible filesystems).

Any thoughts?


Phil.

(If you Cc: me in any replies I'll see them sooner.)




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-24 20:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-23 23:20 No error when inotify_add_watch(/an/NFS/file) Phil Endecott
2007-11-24 19:59 ` J. Bruce Fields
2007-11-24 20:11   ` Phil Endecott
2007-11-24 20:37     ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®