linux-unionfs mirror
 help / color / mirror / Atom feed
From: Miklos Szeredi <miklos@szeredi.hu>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: Christian Brauner <brauner@kernel.org>,
	Amir Goldstein <amir73il@gmail.com>,
	 Vivek Goyal <vgoyal@redhat.com>,
	Alexander Viro <viro@zeniv.linux.org.uk>,
	 linux-fsdevel <linux-fsdevel@vger.kernel.org>,
	linux-unionfs@vger.kernel.org,
	 Luiz Angelo Daros de Luca <luizluca@gmail.com>,
	Enrico Mioso <mrkiko.rs@gmail.com>
Subject: Re: Can overlayfs follow mounts in lowerdir?
Date: Thu, 22 Feb 2024 11:38:52 +0100	[thread overview]
Message-ID: <CAJfpegs+wH8NNqc6E-D0teBjc8yj_2uM6Otykcz-PJtj0MpjQw@mail.gmail.com> (raw)
In-Reply-To: <a0e19bdd-15b0-4b90-b27c-26ba52a72135@gmail.com>

On Thu, 22 Feb 2024 at 11:34, Rafał Miłecki <zajec5@gmail.com> wrote:

> Can I bind mount /tmp/ to my temporary virtual root and still make use
> or overlay to don't touch underlaying system?

You can bind mount read-only, or you can create a separate overlay.
For /proc and /sys the only option is a r/o bind.

Thanks,
Miklos

      reply	other threads:[~2024-02-22 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-22  6:19 Can overlayfs follow mounts in lowerdir? Rafał Miłecki
2024-02-22  9:01 ` Christian Brauner
2024-02-22 10:34   ` Rafał Miłecki
2024-02-22 10:38     ` Miklos Szeredi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJfpegs+wH8NNqc6E-D0teBjc8yj_2uM6Otykcz-PJtj0MpjQw@mail.gmail.com \
    --to=miklos@szeredi.hu \
    --cc=amir73il@gmail.com \
    --cc=brauner@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=luizluca@gmail.com \
    --cc=mrkiko.rs@gmail.com \
    --cc=vgoyal@redhat.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=zajec5@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).