aboutsummaryrefslogtreecommitdiffstats
path: root/emulator/mksdcard/mksdcard.c
Commit message (Collapse)AuthorAgeFilesLines
* Adjust AVD create dialog to match sdcard size limits.Raphael Moll2011-02-171-2/+2
| | | | | | | | | | | Change mksdcard to a minimum of 9 MiB, which is what we enforce in the UI (I believe the 8 MiB min was obsoleted by the 9 MiB one.) Also warn the user about the min/max sdcard size properly directly in the creation dialog, instead of relying on mksdcard to fail later. Change-Id: I30bc425ed6b75d8a00965e9e2e25890bd9bd8b39
* Mksdcard: Sanity check size, better error messages.Raphael Moll2011-02-171-23/+48
| | | | | | | | | | | | | | | | Fixes: - Issue 13277: mksdcard fails to create insanely large sdcard. - Issue 14429: better error message when disk full. Details: - Actually report fopen/fwrite errors (instead of silently failing.) This alone fixes the 2 reported issues. - Check size argument parsed correctly and isn't larger than the FAT format can handle. - Actually indicate in the usage text the min/max size values. - Added support for a 'G' postfix, to make gigabyte sdcards. Change-Id: I4986c2c7c031f3b9bfd580b015b56d741aba778f
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+304
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-304/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+304