mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Kusanagi Kouichi <slash@ac.auone-net.jp>
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 01:53:37 -0400	[thread overview]
Message-ID: <20091030055337.GA3406@infradead.org> (raw)
In-Reply-To: <20091030053146.BC2176FC03B@msa105.auone-net.jp>

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.


  reply	other threads:[~2009-10-30  5:53 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 [this message]
2009-10-30  8:56   ` Kusanagi Kouichi

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=20091030055337.GA3406@infradead.org \
    --to=hch@infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=slash@ac.auone-net.jp \
    /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®