fredx181 wrote: Mon Aug 23, 2021 1:36 pmwiak wrote: Mon Aug 23, 2021 10:42 amCode: Select all
for i in `seq -w 02 99`;do mkdir -p $i; touch ${i}/file${i};mksquashfs $i ${i}test.sfs; rm -rf $i; done
The resulting numbered files are all layered to appear under / directory of the merged overlay.
....Many thanks William, nice way to be able to test loading 100 modules (changed .sfs to .squashfs).
On Bullseye, tested booting with the 100 .squashfs and went without errors for me, so indeed it can not be a limitation of 'overlay':
2021-08-23-150725_897x641_scrot_597x427.png
I tried to make squashfs with wiak script and it also worked for me.
In my tests I made multiple copies of a slightly more complex file ( https://1fichier.com/?f5rhmbuv5mg7itzzjnph ) and it didn't work.
Maybe the problem is when there are folders in the SFSs...
I will try with this modified script (puts the files in a subfolder):
Code: Select all
for i in `seq -w 02 99`;do mkdir -p $i/$i; touch ${i}/${i}/file${i};mksquashfs $i ${i}test.sfs; rm -rf $i; done
EDIT : This also worked
EDIT 2:
I tried loading 120 squashfs (list : https://pastebin.com/fJeHairy ) and it worked!
If I add more copies of add-architecture_i386_v2bullseye.squashfs it won't work...
As you can see it loads with many XXX*.squashfs (made with a modification of wiak script to create more subfolders).