On Tue, Oct 27, 1998 at 05:13:41PM -0700, Ryan Bedwell wrote:

> that needs to be able to survive a power failure (i.e. can't just throw it
> in RAMdisk), but I'm wondering if it compromizes the compressed root
> filesystem on the flash disk.

I use a simple "config-file" for this purpose. This file is just a very
small partition of my flash disk which is read and written with the
possibility of power failure in mind (eg. /dev/hda2). 

If the config values I read from there are bad, I fall back to defaults. 

Another posibility to write such values in a more save way is to write them 
twice. If reading you just need to compare the two values and if they are 
different there has been a power failure during writing.

Regards

Sven

P.S.: / is mounted ro of course


-- 
|_||_||||| Sven Geggus @ Fraunhofer Institut fuer Informations und
|_||_||||| Datenverarbeitung, Karlsruhe, GERMANY (http://wsd.iitb.fhg.de/)
|        | ... LinuX powered DATA aquisition and evaluation
|  IITB  | PGP Key on request: send mail with subject "send public key"

Reply via email to