Am 29.10.21 um 14:54 schrieb Miklos Szeredi:
Here's something I prepared earlier;) Don't know why it got stuck, quite possibly I realized some fatal flaw that I can't remember anymore... Seems to work though, so getting this out for review and testing.
The code looks good to me. I have a small test program which writes 100MB to a tmpfile and then checks its contents: https://github.com/georgmu/overlaytest I have tested manual overlayfs creation (make overlaytest) and docker (make dockertest). For docker: `docker info | grep "Storage Driver"` should be "overlay2". I may enhance the test to create multiple tmpfiles in parallel. Thank you very much for the code. I would add my tested-by. Best regards, Georg