I am developing a web interface to a voting system which will save
results in a CSV file on the embedded arm board. Beyond writing to a
CSV file after Roll Call at the beginning of the session and writing one
line to the CSV file at the end of each vote, no other writing needs to
be done to the filesystem. I would like to keep the OS and webpage
related code on the 512 meg SD card, preferably mounted read-only, and
all volital data related to the voting on a second 64 meg SD card.
First, what needs to be done to keep the root file system read-only. I
know a few things like making /etc/mtab to a symlink on the second SD
card, but is there any major roadblocks. Also, what filesystem should I
use for the 2nd SD card. Data bandwidth is relatively low, one CSV file
is written per day for about 50 days out of a year, 10-20 votes, meaning
lines written to each CSV file. I am mainly concerned about any
future problems that might be caused due to flash failures due to
excessive writes. This will be in use for many years after it is
shipped to the customer over seas.
--
Loren M. Lang
http://www.north-winds.org/
Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2
signature.asc
Description: OpenPGP digital signature
|