tmpfs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

tmpfs

3,099件の閲覧回数
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,737件の閲覧回数
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,737件の閲覧回数
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,737件の閲覧回数
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,737件の閲覧回数
niklasmolin
Senior Contributor I

Thanks,

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

But I'll do that soon.

0 件の賞賛
返信