fredx181 wrote: Wed Dec 29, 2021 5:06 pmwiak wrote:Certainly I think overlayfs can't add extra layer once built but I just wonder about idea of rebuilding complete layer and switching for a second time later?
Remounting / with added extra layer you mean perhaps ? I tried that, but overlay is stubborn (without showing any error it stays exactly how it is)
No, I was wondering about taking the already created overlay (merge), adding new layer to that via a new overlay (merge as lower layer - i.e. part of nested overlay) and then somehow chroot to that - or similar. I have no idea beyond a thought and may not be useful.