lkml.org 
[lkml]   [2009]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs: Don't ignore MS_RDONLY in bind and not remount case.
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?


\
 
 \ /
  Last update: 2009-10-30 09:59    [W:0.029 / U:0.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site