Quoting Christian Seiler (christ...@iwakd.de): > No, previously, the kernel has behaved differently. As I said, > on my 3.2 and 2.6.32 a mount -o remount,ro /bindmount without > the bind option would only change the bind mount and not the > entire filesystem.
My 3.2, 3.8 and 3.11 kernels all behave the same: serge@sergeh1:~$ sudo mount -t tmpfs tmpfs /mnt serge@sergeh1:~$ sudo mount --bind /mnt /mnt2 serge@sergeh1:~$ sudo mount -o remount,ro /mnt2 serge@sergeh1:~$ sudo touch /mnt/a serge@sergeh1:~$ mount | grep /mnt tmpfs on /mnt type tmpfs (rw) /mnt on /mnt2 type none (ro,bind) (I'll dig deeper later.) ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel