android_system_core/fs_mgr
JP Abgrall 4bb7bba118 [HACK]fs_mgr: force recovery+wipe if data looks wiped
We do the recovery+wipe if
 - the mount fails and
 - the partition is forceencrypt
 - the partition seems wiped (== the 1st 4KB are all 0x00 or 0xFF).

This is a hack until we get the flashstation up and running with f2fs.
Bug: 15731906

The alternative would be for the user to manually enter
recovery and wipe his device.

Bug: 15747366
Change-Id: Ic8f3ef59f3d7d01d5d93d8e4c01502080f422157
Signed-off-by: JP Abgrall <jpa@google.com>
2014-06-19 22:12:20 -07:00
..
include fsmgr: support multiple fs-types/mountpoint 2014-06-18 22:18:24 +00:00
Android.mk fs_mgr: turn on -Werror 2014-05-07 16:56:21 -07:00
fs_mgr.c [HACK]fs_mgr: force recovery+wipe if data looks wiped 2014-06-19 22:12:20 -07:00
fs_mgr_fstab.c fsmgr: support multiple fs-types/mountpoint 2014-06-18 22:18:24 +00:00
fs_mgr_main.c Cleanup: warning fixit. 2014-04-11 16:15:46 -07:00
fs_mgr_priv.h Add force_encrypt flag to fstab to force encryption on appropriate devices 2014-04-04 11:07:27 -07:00
fs_mgr_priv_verity.h Add basic verity support to fs_mgr. 2013-08-06 22:15:58 -07:00
fs_mgr_verity.c am af0df46d: am e6246ca6: am 01ef52e1: Merge "fs_mgr: turn on -Werror" 2014-05-08 21:43:06 +00:00