I have an application where a micro-controller enters data into the Raspberry Pi via the commend line (using the UART). It types something like:
echo "10.1" > file.txt
It does this over and over every second.
I store the 'file.txt' on the RAM drive as I don't want repeated writes to the SD card - this has to last a long time.
When you press the up arrow you get the previous commands entered. This must be stored somewhere on the flash drive. I either want to store this in RAM or disable it so I don't keep writing to the SD card every second. Is this possible?