diff options
author | San Mehat <san@google.com> | 2009-06-27 09:59:46 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-06-27 09:59:46 -0700 |
commit | 9f9c951ad3329a4d8bc84b48a2b125a67ba9979f (patch) | |
tree | 3c1fa17cb70bc6027d2ad2e14d36d5c953292f82 | |
parent | 3860b6e67c72afceddf316c0a3282f53496de8af (diff) | |
download | core-9f9c951ad3329a4d8bc84b48a2b125a67ba9979f.tar.gz |
vold: Force formatting of cards to FAT32
Signed-off-by: San Mehat <san@google.com>
-rwxr-xr-x | vold/format.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/vold/format.c b/vold/format.c index a1faf7aa4..d4e2327bf 100755 --- a/vold/format.c +++ b/vold/format.c @@ -39,12 +39,13 @@ int format_partition(blkdev_t *part, char *type) if (!strcmp(type, FORMAT_TYPE_FAT32)) { char *args[6]; args[0] = MKDOSFS_PATH; - args[1] = "-c 32"; - args[2] = "-n 2"; - args[3] = "-O android"; - args[4] = devpath; - args[5] = NULL; - rc = logwrap(5, args, 1); + args[1] = "-F 32"; + args[2] = "-c 32"; + args[3] = "-n 2"; + args[4] = "-O android"; + args[5] = devpath; + args[6] = NULL; + rc = logwrap(6, args, 1); } else { char *args[7]; args[0] = MKE2FS_PATH; |