tmpfs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

tmpfs

3,092 次查看
niklasmolin
Senior Contributor I

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

标签 (2)
0 项奖励
回复
4 回复数

2,730 次查看
gusarambula
NXP TechSupport
NXP TechSupport

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?

0 项奖励
回复

2,730 次查看
niklasmolin
Senior Contributor I

Thanks for the update.

I'm referring to the tmpfs in the built image, running in the ARM.

Thanks,

Niklas

0 项奖励
回复

2,730 次查看
gusarambula
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复

2,730 次查看
niklasmolin
Senior Contributor I

Thanks,

I haven't had time to dig into this yet.

But I'll do that soon.

0 项奖励
回复