After use ‘adb remount’, there will be a large(11G) file named scratch.img.0000 in /data/gsi/remount.
It seems that this file is used as overlay fs (/mnt/scratch), how to reduce the size of it.
/data/gsi/remount # ls -l
total 11138156
-rw-r----- 1 root root 17 2024-07-12 09:21 scratch.img
-rw------- 1 root root 11405463552 2024-07-12 09:21 scratch.img.0000
After adb enable-verity
, the file was deleted, but all modification after adb remount
was recoverd.