This is the content of the overlay folder from a live USB:
A live Debian USB, with or without persistence, is run via an overlay filesystem by overlaying an "rw" sub-folder on the filesystem.squashfs. Without specifying the persistence Linux boot parameter (and the corresponding persistence partition or persistence file), the rw sub-folder will be created in RAM and will go puffed when the system is turned off, Of course you don't have to use overlayfs but you will have to recompile the default Debian Linux kernel.
Code:
user@debian:~$ ls /run/live/overlay/rw work
Statistics: Posted by pwzhangzz — 2024-07-22 16:56