From: Al Viro <viro@ZenIV.linux.org.uk>
To: Stef Bon <stefbon@gmail.com>
Cc: Brad Boyer <flar@allandria.com>, linux-fsdevel@vger.kernel.org
Subject: Re: Question about inotify and bind mount.
Date: Thu, 10 Jun 2010 22:18:24 +0100 [thread overview]
Message-ID: <20100610211824.GD31073@ZenIV.linux.org.uk> (raw)
In-Reply-To: <AANLkTimXSCIQrcnelsONqHnYvbcn8t82XI7DTvbdxG5S@mail.gmail.com>
On Sun, Jun 06, 2010 at 12:55:35PM +0200, Stef Bon wrote:
> So to get bask to the mount --bind issue. Because the inodes are just
> mirrored a inotify request is just handled the same?
They are not mirrored. They (and dentries and superblock) are literally
the same. mount --bind results in a new vfsmount that does (as any vfsmount)
refer to a subtree of some fs. In this case - preexisting subtree.
Mount tree consists of vfsmounts; there's nothing that would prohibit
several vfsmounts refering to the subtrees of the same dentry tree/same
(sub)tree/etc.
Al, carefully not saying what he really thinks of inotify; completely unfit
for repeating in public...
prev parent reply other threads:[~2010-06-10 21:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 9:49 Question about inotify and bind mount Stef Bon
2010-06-06 4:26 ` Brad Boyer
2010-06-06 10:55 ` Stef Bon
2010-06-07 8:13 ` Brad Boyer
2010-06-07 8:50 ` Jamie Lokier
2010-06-07 9:23 ` Stef Bon
2010-06-10 5:52 ` Brad Boyer
2010-06-10 21:18 ` Al Viro [this message]
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=20100610211824.GD31073@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=flar@allandria.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=stefbon@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).