Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1736341

Re: Read-only `slaves` with shared subtrees?

From Dawid Ciezarkiewicz <dawid.ciezarkiewicz@rubrik.com>
Newsgroups linux.kernel
Subject Re: Read-only `slaves` with shared subtrees?
Date 2017-09-21 05:10 +0200
Message-ID <us02f-3Cs-19@gated-at.bofh.it> (permalink)
References (3 earlier) <urTar-7oz-11@gated-at.bofh.it> <urTar-7oz-9@gated-at.bofh.it> <urW8h-QH-5@gated-at.bofh.it> <urWhX-19i-11@gated-at.bofh.it> <urXH4-1Ui-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 20, 2017 at 5:39 PM, Ram Pai <linuxram@us.ibm.com> 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.

Regards,
Dawid Ciezarkiewicz

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Read-only `slaves` with shared subtrees? Dawid Ciezarkiewicz <dawid.ciezarkiewicz@rubrik.com> - 2017-09-15 20:00 +0200
  Re: Read-only `slaves` with shared subtrees? Ram Pai <linuxram@us.ibm.com> - 2017-09-18 22:50 +0200
    Re: Read-only `slaves` with shared subtrees? Dawid Ciezarkiewicz <dawid.ciezarkiewicz@rubrik.com> - 2017-09-20 01:20 +0200
      Re: Read-only `slaves` with shared subtrees? Ram Pai <linuxram@us.ibm.com> - 2017-09-20 21:50 +0200
        Re: Read-only `slaves` with shared subtrees? ebiederm@xmission.com (Eric W. Biederman) - 2017-09-21 01:00 +0200
          Re: Read-only `slaves` with shared subtrees? ebiederm@xmission.com (Eric W. Biederman) - 2017-09-21 01:10 +0200
            Re: Read-only `slaves` with shared subtrees? Ram Pai <linuxram@us.ibm.com> - 2017-09-21 02:40 +0200
              Re: Read-only `slaves` with shared subtrees? Dawid Ciezarkiewicz <dawid.ciezarkiewicz@rubrik.com> - 2017-09-21 05:10 +0200
                Re: Read-only `slaves` with shared subtrees? Ram Pai <linuxram@us.ibm.com> - 2017-09-21 21:20 +0200
                Re: Read-only `slaves` with shared subtrees? Dawid Ciezarkiewicz <dawid.ciezarkiewicz@rubrik.com> - 2017-09-22 20:50 +0200
      Re: Read-only `slaves` with shared subtrees? Ram Pai <linuxram@us.ibm.com> - 2017-09-20 21:50 +0200

csiph-web