All of lore.kernel.org
 help / color / mirror / Atom feed
From: Iyad Qumei <iyad.qumei@lge.com>
To: "jm@mokwan.com" <jm@mokwan.com>,
	"linux-unionfs@vger.kernel.org" <linux-unionfs@vger.kernel.org>
Cc: "neilb@suse.de" <neilb@suse.de>, "miklos@szeredi.hu" <miklos@szeredi.hu>
Subject: Re: use scenario for overlay FS
Date: Mon, 20 Apr 2015 19:31:07 -0400	[thread overview]
Message-ID: <55358C3B.5090708@lge.com> (raw)
In-Reply-To: <6c73aa7ee25cebcca7e5564ccc57b1e7.squirrel@www.anemaid>

> I thought upperdir is now optional but must be read-write if one is
specified.

I have two file systems that I need to create a union for.  The upperdir 
overrides the lowerdir, hence replacing its content. Therefore, 
regardless if the upperdir is optional, I do need it in this use case.

Per the documentation:

    "A read-only overlay of two read-only filesystems may use any filesystem type."

I understood that my use case is possible. However, it does contradict 
the actual implementation,

   "overlayfs: workdir and upperdir must reside under the same mount"

and your statement, of course.

Thanks,
Iyad

On 04/20/2015 04:01 PM, A. Wan wrote:
>> Hi Neil,
>>
>> Regarding the overlayfs implementation, I am interested in overlaying
>> two squashfs file systems, read-only, and running into a problem with
>> location of the work directory:
>>
>>    "overlayfs: workdir and upperdir must reside under the same mount"
>>
>> Since the upper directory is read-only, and it is mounted on a partition
>> as such, having writable work directory is not possible. Any suggestions
>> on how to utilize overlayfs in this scenario?
>>
>> I feel this restriction is overkill for the feature.
>>
>> --
>> Thanks,
>> Iyad
> I thought upperdir is now optional but must be read-write if one is
> specified.  Therefore if you want the whole stack read-only specify only
> lowdirs and skip the upperdir.  Correct me if I am wrong.
>
> Alex
>
>
>
>
>

  reply	other threads:[~2015-04-20 23:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-20 20:55 use scenario for overlay FS Iyad Qumei
2015-04-20 23:01 ` A. Wan
2015-04-20 23:31   ` Iyad Qumei [this message]
2015-04-21 15:34     ` A. Wan

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=55358C3B.5090708@lge.com \
    --to=iyad.qumei@lge.com \
    --cc=jm@mokwan.com \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=neilb@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.