On Sat, Apr 03, 1999 at 07:27:08PM -0500, Ivo Zivkov wrote:
> Can somebody give me some advice on how to reduce/eliminate corrupting the file 
>system for unexpected power-offs on an embedded Linux device we are working on. I 
>understand we can setup some parameter to sync the disk immediately after each write. 

I do this by just mounting the root-filesystem read-only. This is possible
in my application as I have to write only one config file with permanent
data which has to be there after a power off. I use the raw /dev/hda2 for
this purpose. Probably the "-o sync" mount option will help you as well.

Regards

Sven

-- 
|_||_||||| Sven Geggus @ Fraunhofer Institut fuer Informations und
|_||_||||| Datenverarbeitung, Karlsruhe, GERMANY (http://wsd.iitb.fhg.de/)
|        | 
|  IITB  | ... LinuX powered DATA aquisition and evaluation

Reply via email to