Hi.
This might be a quick question.
Where in the Yocto build setup do I configure the size of tmpfs?
Right now it looks like I have it set to 500M, but I want to decrease it.
Thanks,
Niklas
The size of tmpfs is set on the kernel which limits it by default as half of your physical RAM without swap. The following document might provide useful information.
https://www.kernel.org/doc/Documentation/filesystems/tmpfs.txt
Or are you referring to a tmp folder when building the images on the Yocto environment?
Thanks for the update.
I'm referring to the tmpfs in the built image, running in the ARM.
Thanks,
Niklas
Unfortunately I wasn’t able to locate any information on how to edit this parameter in Yocto. It is possible that you will need to change it directly on the kernel to set this parameter while mounting the file system.
Thanks,
I haven't had time to dig into this yet.
But I'll do that soon.