From: Kusanagi Kouichi <slash@ac.auone-net.jp>
To: Christoph Hellwig <hch@infradead.org>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fs: Don't ignore MS_RDONLY in bind and not remount case.
Date: Fri, 30 Oct 2009 17:56:41 +0900 [thread overview]
Message-ID: <20091030085644.2157915C033@msa104.auone-net.jp> (raw)
In-Reply-To: <20091030055337.GA3406@infradead.org>
On 2009-10-30 01:53:37 -0400, Christoph Hellwig wrote:
> On Fri, Oct 30, 2009 at 02:31:46PM +0900, Kusanagi Kouichi wrote:
> > A readonly bind mount needed to be created in 2 steps
> >
> > # mount --bind
> > # mount --bind -o remount,ro
> >
> > instead of single
> >
> > # mount --bind -o ro
> >
> > because MS_RDONLY is ignored in bind and not remount case.
>
> I'm pretty sure that was intentional, but I don't remember why anymore.
I could not find any reason to restrict this.
Could you tell me the reason of this restriction?
prev parent reply other threads:[~2009-10-30 8:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-30 5:31 Kusanagi Kouichi
2009-10-30 5:53 ` Christoph Hellwig
2009-10-30 8:56 ` Kusanagi Kouichi [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=20091030085644.2157915C033@msa104.auone-net.jp \
--to=slash@ac.auone-net.jp \
--cc=hch@infradead.org \
--cc=linux-fsdevel@vger.kernel.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®