An operation for filesystem tucking
An operation for filesystem tucking
Posted Apr 3, 2023 17:49 UTC (Mon) by NYKevin (subscriber, #129325)In reply to: An operation for filesystem tucking by mgedmin
Parent article: An operation for filesystem tucking
I think the simplest way to handle that is to make it userspace's problem: If you want to tuck a new overlay that overrides files in the base overlay, you first tuck a copy of the old overlay that also contains all of the files you are going to override. Any reasonable container system should be keeping track of what files are supposed to exist in each layer, and so it should be able to detect situations like this.