lkml.org 
[lkml]   [2007]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectNo error when inotify_add_watch(/an/NFS/file)
From
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.)



-
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/

\
 
 \ /
  Last update: 2007-11-24 01:05    [from the cache]
©2003-2011 Jasper Spaans