summaryrefslogtreecommitdiffstats
path: root/toolbox/newfs_msdos.c
Commit message (Collapse)AuthorAgeFilesLines
* newfs_msdos: Set sectors per fat onceDaniel Rosenberg2014-10-101-1/+3
| | | | | | | | | | There was an issue causing the fat size to shrink too small, causing a fsck check to fail. Bug: 17949028 Bug: 17761281 Change-Id: Id0207f2ab44e57ff81f5a53494b45344822a6495 Signed-off-by: Daniel Rosenberg <drosen@google.com>
* newfs_msdos: Added option to cluster-align the start of the root directoryDaniel Rosenberg2014-07-161-31/+69
| | | | | | | This follows the recommendations of the SD-card association. Change-Id: Ie89a5972d086b3df9d92e631c394a521f807b016 Signed-off-by: Daniel Rosenberg <drosen@google.com>
* Made formatting for newfs_msdos.c more uniformDaniel Rosenberg2014-07-091-646/+617
| | | | | Change-Id: I3d14350c70c05a7e2f713d0065524d78f9a413c6 Signed-off-by: Daniel Rosenberg <drosen@google.com>
* toolbox: turn on -WerrorMark Salyzyn2014-05-141-6/+6
| | | | | | | | | - Deal with some signedness issues - Deal with some size issues - Deal with NULL pointer issues - Deal with some -Wunused issues Change-Id: I1479dd90d690084491bae3475f2c547833519a57
* system/core 64-bit cleanup.Elliott Hughes2014-01-161-7/+0
| | | | | | | | | This cleans up most of the size-related problems in system/core. There are still a few changes needed for a clean 64-bit build, but they look like they might require changes to things like the fastboot protocol. Change-Id: I1560425a289fa158e13e2e3173cc3e71976f92c0
* Make sure FAT32 filesystems contain a minimum of 65527 clustersKen Sumrall2012-03-291-1/+2
| | | | | | | Some versions of windows cannot handle FAT32 filesystems with less than 65527 clusters, so make sure we don't create such beasts. Change-Id: Id00fb02c4f8476f7dcc0ef137bd9e4975d740591
* newfs_msdos: Allow -s option to work by itselfSan Mehat2010-03-031-2/+5
| | | | Signed-off-by: San Mehat <san@google.com>
* Remove definitions that are now in bionic libcColin Cross2010-01-141-29/+0
|
* toolbox: newfs_msdos: Exit on write failure, and handle bogus geometry from ↵San Mehat2010-01-101-1/+13
| | | | | | the kernel Signed-off-by: San Mehat <san@google.com>
* toolbox: newfs_msdos: If geometry is not available, use some sane-ish defaultsSan Mehat2010-01-051-4/+5
| | | | Signed-off-by: San Mehat <san@google.com>
* toolbox: mkdosfs: Imported new 'newfs_msdos' updated disk formatterSan Mehat2009-07-061-0/+1098
Signed-off-by: San Mehat <san@google.com>