26 Apr
2023
26 Apr
'23
16:10
On 4/25/23 14:12, Thorsten Kukuk wrote:
Please look at /etc/fstab which overlays are mounted. There are always two overlays mounted, so that no changes done after the new snapshot gets created go lost.
Thorsten
Thanks Thorsten, I saw that there were always 2 overlays mounted but the syncing part was still confusing me so I downloaded the source code for transactional-update to get a better understanding of what it was actually doing. In case anyone else is trying to understand the how the overlays are managed, just look at the transactional-update source code in the lib/Overlay.cpp file at the Overlay::sync method for the details. -- Regards, Joe