mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Phil Endecott" <phil_wueww_endecott@chezphil.org>
To: <linux-kernel@vger.kernel.org>
Subject: No error when inotify_add_watch(/an/NFS/file)
Date: Fri, 23 Nov 2007 23:20:55 +0000	[thread overview]
Message-ID: <1195860055386@dmwebmail.japan.chezphil.org> (raw)

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.)




             reply	other threads:[~2007-11-24  0:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23 23:20 Phil Endecott [this message]
2007-11-24 19:59 ` J. Bruce Fields
2007-11-24 20:11   ` Phil Endecott
2007-11-24 20:37     ` J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1195860055386@dmwebmail.japan.chezphil.org \
    --to=phil_wueww_endecott@chezphil.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®