* use scenario for overlay FS
@ 2015-04-20 20:55 Iyad Qumei
2015-04-20 23:01 ` A. Wan
0 siblings, 1 reply; 4+ messages in thread
From: Iyad Qumei @ 2015-04-20 20:55 UTC (permalink / raw)
To: neilb@suse.de, miklos@szeredi.hu, linux-unionfs@vger.kernel.org
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: use scenario for overlay FS
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
0 siblings, 1 reply; 4+ messages in thread
From: A. Wan @ 2015-04-20 23:01 UTC (permalink / raw)
To: linux-unionfs@vger.kernel.org
Cc: neilb@suse.de, miklos@szeredi.hu, Iyad Qumei
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: use scenario for overlay FS
2015-04-20 23:01 ` A. Wan
@ 2015-04-20 23:31 ` Iyad Qumei
2015-04-21 15:34 ` A. Wan
0 siblings, 1 reply; 4+ messages in thread
From: Iyad Qumei @ 2015-04-20 23:31 UTC (permalink / raw)
To: jm@mokwan.com, linux-unionfs@vger.kernel.org
Cc: neilb@suse.de, miklos@szeredi.hu
> 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
>
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: use scenario for overlay FS
2015-04-20 23:31 ` Iyad Qumei
@ 2015-04-21 15:34 ` A. Wan
0 siblings, 0 replies; 4+ messages in thread
From: A. Wan @ 2015-04-21 15:34 UTC (permalink / raw)
To: Iyad Qumei
Cc: linux-unionfs@vger.kernel.org, neilb@suse.de, miklos@szeredi.hu
Iyad wrote:
> 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:
>> 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
When they made upperdir= optional they also changed lowerdir= to allow a
(colon separated?) stack of directories. I don't remember if they are
stacked from left to right or right to left. I am sure it is in the
latest documentation.
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-21 15:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-04-21 15:34 ` A. Wan
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.