tmpfs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

tmpfs

1,538 Views
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

Labels (2)
0 Kudos
4 Replies

1,176 Views
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 Kudos

1,176 Views
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 Kudos

1,176 Views
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 Kudos

1,176 Views
niklasmolin
Senior Contributor I

Thanks,

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

But I'll do that soon.

0 Kudos