How to protect DoC 2000 from power fail?
I do not use a journalling file system. I load a ext2 fs into memory from a raw file on DOC2000. If you loose power then you just reboot. No loss of data. Of course only config changes not the root fs. I store config in a shared memory sgement. I only write it to DOC when the user issues the 'save' command.
--------- Original message --------
From: "Wil Taphoorn" <[email protected]>
To: "[email protected]" <[email protected]>
Subject: How to protect DoC 2000 from power fail?
Date: 03-18-02 12:23
Gentlemen,
I am looking for some rigid means of power fail protection for a DoC 2000 based embedded system. From what I have read so far I understand that almost any brand of journalling file system should do well but, then again, those readings also mention raw FLASH and not DoC, in other words, I think I am lost. Would someone be so kind to enlighten me?
The system in question runs on a customized 486 SoC, boots from EEPROM and loads LILO from DoC. The kernel uses initrd to load the M-sys supplied DoC driver.
Thanks,
Wil
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Quoted 9 lines · Cfowler
Quoted 2 lines · Wil Taphoorn
I am looking for some rigid means of power fail protection for a DoC 2000 based embedded system. [..snip..]
I do not use a journalling file system. I load a ext2 fs into memory from a raw file on DOC2000. If you loose power then you just reboot. No loss of data. Of course only config changes not the root fs. I store config in a shared memory sgement. I only write it to DOC when the user issues the 'save' command.
Thanks for you input, Chris, but I can not use that scenario. The system has to save not only run-time information but also system update files received from the network like data, drivers and even the kernel itself.
I think I first have to read (and re-read) David's contribution on the subject.
Thanks,
Wil