lkml.org 
[lkml]   [2004]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Bind Mount Extensions (RO --bind mounts)
From
Date
Olivier ARCHER <olivier.archer@infini.fr> writes:

> Hi,
> I've tried
> http://www.ussg.iu.edu/hypermail/linux/kernel/0309.3/0802.html
> to try the 'Bind Mount Extensions (RO --bind mounts)'
>
> I've applied the patch on 2.4.24 and 2.6.3, without effects, ie
>
> mount -t ext2 -o ro /dev/hdc7 /mnt/ro
> mount --bind -o rw /mnt/ro /mnt/ro2rw
> touch /mnt/ro2rw/test
> touch: connot touch '/mnt/ro2rw/test': Read Only file system
>
> have I miss something ?

As far as I can tell, you have it backwards. BME seems to be designed
to enable you to do ro binds of an rw FS, not an rw bind of an ro FS.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.027 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site