HACK: Run e2fsck with -f

Until we figure out what is causing the filesystem
created on hammerhead's factory reset to be invalid,
force e2fsck to run

Bug:24763183
Change-Id: Iff015097ab8c22084f485ce77d5a4c47442bcf7c
This commit is contained in:
Daniel Rosenberg 2015-12-02 17:53:29 -08:00
parent 68e26811f0
commit 2cd762d932
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ static void check_fs(char *blk_device, char *fs_type, char *target)
char tmpmnt_opts[64] = "errors=remount-ro";
char *e2fsck_argv[] = {
E2FSCK_BIN,
"-f",
"-y",
blk_device
};