Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemCore
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemCore
Commits
9f9c951a
Commit
9f9c951a
authored
Jun 27, 2009
by
San Mehat
Browse files
Options
Downloads
Patches
Plain Diff
vold: Force formatting of cards to FAT32
Signed-off-by:
San Mehat
<
san@google.com
>
parent
3860b6e6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vold/format.c
+7
-6
7 additions, 6 deletions
vold/format.c
with
7 additions
and
6 deletions
vold/format.c
+
7
−
6
View file @
9f9c951a
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment