On Mon, Jun 22, 2015 at 4:26 PM, Jan Olszak <j.ols...@samsung.com> wrote:
>> You can bind mount individual files from the lower layer to the
>> overlay.  That fixes the "allow modification" part.
>
> Well bind mounting every file that should have COW is unmaintainable - if
> new files appear admin has to mount each one.

No.  I was proposing bind mounts for non-COW ones.

mount -t overlay -olowerdir=/lower,upperdir=/upper,workdir=/work  overlay /ovl
mount --bind /lower/this-file-is-non-cow /ovl/this-file-is-non-cow
...

>>   But what should happen on rename or unlink?
>
> Both would operate on the original inode.

And that would make this hugely complex.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in

Reply via email to