From 8d934caeae971d7d08ca33e98dae294eb57c402d Mon Sep 17 00:00:00 2001 From: San Mehat Date: Sat, 9 Jan 2010 12:23:47 -0800 Subject: [PATCH] vold: Always format FAT32 Signed-off-by: San Mehat --- Fat.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Fat.cpp b/Fat.cpp index 4b1558a..4f65d38 100644 --- a/Fat.cpp +++ b/Fat.cpp @@ -168,13 +168,7 @@ int Fat::format(const char *fsPath) { int rc; args[0] = MKDOSFS_PATH; args[1] = "-F"; - if ((nr_sec * 512) <= ((unsigned int) (1024*1024) * 32)) - args[2] = "12"; - else if ((nr_sec * 512) <= ((unsigned int) (1024*1024*1024) * 2)) - args[2] = "16"; - else - args[2] = "32"; - + args[2] = "32"; args[3] = "-O"; args[4] = "android"; args[5] = fsPath;