[lkml]   [2017]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Read-only `slaves` with shared subtrees?
On Wed, Sep 20, 2017 at 5:39 PM, Ram Pai <> wrote:
> Anyway; so something like this should be possible without breaking
> existing semantics.
> mount -o bind,remount,ro /mnt
> mount --make-pass-on-access /mnt
> anything that gets mounted under /mnt will inherit the
> 'ro' attribute from its parent. And when a mount-event propagates
> to a read-only-slave-mount, that new mount will automatically
> inherit the read-only attribute from its slave-parent.
> Dawid: will that work for you?

Yes. It is even more universal.

Dawid Ciezarkiewicz

 \ /
  Last update: 2017-09-21 19:27    [W:0.125 / U:3.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site