[OE-core] [PATCH] base-files: Add /run/lock as a standard directory

Colin Walters walters at verbum.org
Fri May 9 20:50:51 UTC 2014


On Fri, May 9, 2014 at 4:35 PM, Mark Hatle <mark.hatle at windriver.com> 
wrote:
> 
> Certain system configurations may require parts of the /run 
> filesystem to not always be on tmpfs.  (Some situations where you 
> have a lot of disk, but limited ram for instance..  using tmpfs will 
> potentially put your system into a low memory state, or you might not 
> have enough tmpfs to run the system properly.)

I understand not doing /tmp-on-tmpfs, but /run?  Fix the parts of 
userspace that are allocating significant memory there.

And if you're really not mounting /run as tmpfs, I hope you're ensuring 
it's emptied immediately after mounting.

>  /run is one of the directories that needs to be investigated.  Is 
> there actually anything there that may be desirable to persist from 
> one boot to the next?

No.  It not being persistent is part of the API contract.
http://lwn.net/Articles/436012/




More information about the Openembedded-core mailing list