Re: Optional switching off cow in overlayfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 22, 2015 at 4:26 PM, Jan Olszak <j.olszak@xxxxxxxxxxx> 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



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux