Hi, In case my SDCard gets corrupted on an Android phone, is there anyway this error gets detected early on, and fsck run automatically to fix this?
To achieve this 3 things are required I think: 1. Detection of corruption: This happens now, as I can see bootlogs suggesting to run e2fsck. 2. Notification to userspace: Currently the files are mounted from init.rc. The inbuilt mount command does not seem to return any error code, when theses errors are detected. This results in either the partition being mounted to Read Only, or continue with errors. Any third option available? 3. Is the e2fsck available for ext4 in Android build system? I could not find it though. Any inputs would really be helpful. Thanks, Roy -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
