Skip to content
Snippets Groups Projects
Commit 9f9c951a authored by San Mehat's avatar San Mehat
Browse files

vold: Force formatting of cards to FAT32


Signed-off-by: default avatarSan Mehat <san@google.com>
parent 3860b6e6
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment