View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#61
Originally Posted by xes View Post
.."dozens" ?? Wtf??
[OT] I'm testing/developing (the latter mostly on hardware side) many things, that results in device shutting down not-nice way. Most of the times, recovering journal for a file system is enough, but often, something else is broken and fsck attempts to repair it.

Here comes a problem - all ext* fsck tools just doesn't work well for flash, if anything above journal recovery is needed. It gets confused, and attempt by fsck to repair even a minor glitch, results in making filesystem a total FUBAR.

Thats why I disabled all automatic fsck tests, and after every bad shutdown, I do fsck manually, from recovery shell. If recovering journal isn't enough, I create a backupmenu backup (which just skip broken files on read errors - of course I keep track on what got lost), then re-create filesystem from scratch on given partition, and restore backup.

AFAIK, it's the only way to have a healthy filesystem in case of something getting ugly. Regular fsck routines are of no use for us. [/OT]

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post: