Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Lost power problem on (linux) embedded devices !

Status
Not open for further replies.

hoalanhuong

Junior Member level 1
Junior Member level 1
Joined
Dec 15, 2004
Messages
17
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
111
Hi,

Do you have any idea/source/ebook/technical report/solution regards on the problem of software architecture/hardware design of linux embedded divices that could secure the OS if the device is lost power so the OS will not damage?

I'm designing a linux embedded device but the problem of sudden power off (like: unplug the power cable, turn the power switch off, ... which may damage the OS while it running and may be in the next turn on the device will have to scan disk, fix errors bla bla...) is still a big question.

Hope to receive any hint.

Thanks.
HLH
 

I don't see how the OS can be damaged if there is a loss of power. You can have data los of corruption in the file system only. But if you are using some of the journaling file systems like ext3 you should be fine, after reboot, system will restore filesystem in the state before power loss, using provided journal. If you are using Flash memory than JFFS2 or JFFS3 should be used.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top