public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Al Viro <viro@ZenIV.linux.org.uk>
To: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Does inotify work with special files such as /proc/<pid>/task/<tid>/children?
Date: Mon, 29 Sep 2014 00:12:40 +0100	[thread overview]
Message-ID: <20140928231240.GC7996@ZenIV.linux.org.uk> (raw)
In-Reply-To: <fb54b1e8bb54.5428953e@langara.bc.ca>

On Sun, Sep 28, 2014 at 11:09:50PM +0000, Steven Stewart-Gallus wrote:
> Hello,
> 
> I can't seem to get inotify to work with special files such as
> /proc/<pid>/task/<tid>/children? I just need to get a simple yes/no
> answer on whether it works for special files or whether I have to try
> a different approach.

Simple answer: No.  Slightly more expanded one: No, and it won't.
Inotify does not work on procfs, sysfs, etc.  Doesn't work on
network filesystems either.  Don't use it.  It was a mistake in the
first place.

  reply	other threads:[~2014-09-28 23:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-28 23:09 Does inotify work with special files such as /proc/<pid>/task/<tid>/children? Steven Stewart-Gallus
2014-09-28 23:12 ` Al Viro [this message]
2014-09-29  0:44   ` Chuck Ebbert

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=20140928231240.GC7996@ZenIV.linux.org.uk \
    --to=viro@zeniv.linux.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sstewartgallus00@mylangara.bc.ca \
    /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