Recently, I started using overlay filesystem. I'm using initram script (init=/sbin/myint) as described in Raspberry blog - raspberry overlay, yet, I noticed that it increases boot time significantly (about 10 seconds).
Is this increase in time happening because of mounting overlay filesystem?
I see that if I do the mount in init script instead of fstab file, then the additional time is reduced. Yet, I am not sure what's the difference. in fstab:
/dev/mmcblock5 /app ext4 defaults 0 0 overlay /app overlay defaults,lowerdir=/app,upperdir=/mnt/temp/upper2,workdir=/mnt/temp/work2
(/temp is mounted in initram script (init=/sbin/myint), see the link above)
mount -t overlay -o lowerdir=/app,upperdir=/mnt/temp/upper2,workdir=/mnt/temp/work2 none /app