[ltp] Storing data in /dev/nvram

Richard Neill linux-thinkpad@linux-thinkpad.org
Mon, 31 Jul 2006 15:46:39 +0100


Ernst Herzberg wrote:
> On Monday 31 July 2006 14:14, Onno Benschop wrote:
> 
>>I have a need to store two bytes of data between reboots. The machine is
>>built into a car and the hard-disk is read-only. I don't want to
>>particularly setup my machine to write to the hard-disk, and if I could
>>make that the head never writes, I would.
>>
>>I hit on the idea of storing data in CMOS somewhere, don't really care
>>where, as long as I can store two bytes every five minutes or so, and
>>read them when the machine boots.
> 
> 
> Buy the cheapest USB-Mem-Stick you can get.

Even better - change the HDD for a compact flash card. That will solve 
your vibration problem.