Hi This probably a dumb question but I can't find the answer anywhere , perhaps someone could enlighten me. I finally manage to get my gargoyle up and running .
I realise that it can do shell script and I wonder how can I save the variable to memory instead of text file (flash).
cheers,
Flora
store variable in memory
Moderator: Moderators
Re: store variable in memory
If you write a file to /tmp you're effectively writing to memory, since /tmp is mounted as a RAM disk. It's a lot faster than writing to flash and it doesn't run the risk of writing too often to the flash chip (which has a read/write max of 100,000). However, /tmp gets wiped every time you reboot since it's just memory.
Re: store variable in memory
Eric wrote:If you write a file to /tmp you're effectively writing to memory, since /tmp is mounted as a RAM disk. It's a lot faster than writing to flash and it doesn't run the risk of writing too often to the flash chip (which has a read/write max of 100,000). However, /tmp gets wiped every time you reboot since it's just memory.
cool , thanks . gonna try it tonite