commit | d0c5aac3cb084a5dee685b7bbbfa1abd9e5afbea | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Tue Apr 03 09:32:00 2012 -0700 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Tue Apr 03 09:32:00 2012 -0700 |
tree | c52d2237a541ee448371aed02cb91fcc30111bb4 | |
parent | 968c234f31aa606a7f3f361ccd8f5b3b4bf3bcea [diff] | |
parent | eb68fa8153d97f5f8b6d9062fcf91fe393e3bff3 [diff] |
Merge "adb: set umask to 000"
diff --git a/toolbox/newfs_msdos.c b/toolbox/newfs_msdos.c index ff9e844..6d78eb6 100644 --- a/toolbox/newfs_msdos.c +++ b/toolbox/newfs_msdos.c
@@ -431,7 +431,8 @@ bpb.spc = 8; else if (bpb.bsec <= (1<<19)) /* 256M -> 8k */ bpb.spc = 16; - else if (bpb.bsec <= (1<<21)) /* 1G -> 16k */ + else if (bpb.bsec <= (1<<22)) /* 2G -> 16k, some versions of windows + require a minimum of 65527 clusters */ bpb.spc = 32; else bpb.spc = 64; /* otherwise 32k */