Is there any way to modify one file and sync to the lower directory in OverlayFs?
2
votes
0
answers
2909
views
I know about the
overlayfs
that it treats the lower directory as a read-only and copy_up
when we want to modify the lower file.
So, is there any way to modify the lower filesystem so we can copy the modified file to the lower directory?
From the [kernel docs](https://www.kernel.org/doc/Documentation/filesystems/overlayfs.txt) :
> Changes to the underlying filesystems while part of a mounted overlay filesystem are not allowed. If the underlying filesystem is changed, the behavior of the overlay is undefined, though it will not result in a crash or deadlock.
Asked by yayaya
(79 rep)
Oct 4, 2016, 04:32 AM
Last activity: Jul 9, 2024, 01:22 PM
Last activity: Jul 9, 2024, 01:22 PM