Re: Read-only `slaves` with shared subtrees?
From: Dawid Ciezarkiewicz
Date: Wed Sep 20 2017 - 23:01:34 EST
On Wed, Sep 20, 2017 at 5:39 PM, Ram Pai <linuxram@xxxxxxxxxx> 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.