diff options
author | San Mehat <san@google.com> | 2010-01-09 12:23:47 -0800 |
---|---|---|
committer | San Mehat <san@google.com> | 2010-01-09 12:23:47 -0800 |
commit | 8d934caeae971d7d08ca33e98dae294eb57c402d (patch) | |
tree | dabc032295f2bf7736e3417ca9e7db491824eee5 /Fat.cpp | |
parent | 23969931fad6e993832208f099f6eea0f6f76eb5 (diff) | |
download | system_vold-8d934caeae971d7d08ca33e98dae294eb57c402d.zip system_vold-8d934caeae971d7d08ca33e98dae294eb57c402d.tar.gz system_vold-8d934caeae971d7d08ca33e98dae294eb57c402d.tar.bz2 |
vold: Always format FAT32
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'Fat.cpp')
-rw-r--r-- | Fat.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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; |