What memory location should I use?

Modified on Wed, 13 Feb 2019 at 03:04 PM

What memory location you should use depends on your application and a couple factors. 

Do you need the data to be reboot persistent (non volatile)? Or do you want to start from a clean slate after a reboot (volatile)? 


Volatile memory (temporary)

  • /tmp
  • /var


Non-volatile memory (persistent through reboot/power loss)

  • /etc/luvitred/store
  • /mnt/data/luvitred - note: only on CloudGate LTE


External memory

  • /mnt/sd* - USB
  • /mnt/mmcblk* - uSD card

(*) different letters for each mounted drive


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article