diff options
| author | Anatol Pomazau <anatol@google.com> | 2011-12-15 17:50:18 -0800 |
|---|---|---|
| committer | Mike Lockwood <lockwood@google.com> | 2012-02-11 11:02:40 -0800 |
| commit | 452e11885afb53d59b2aa38b15e3be41c568d1e6 (patch) | |
| tree | bb503a746c88b917241389beb1e56495457f5138 /trusty/coverage/coverage_test.cpp | |
| parent | 0b7fc8bb031d2c0a1dc0485459faa8f2ffd6a0e4 (diff) | |
Implement 'fastboot format' command
Some filesystems (e.g. ext4) require flushing an initial
fs image, right after erasing it the partition is unusable.
Doing erase,flush emptyfs is a little bit scaring so we have a
separate command that performs it as atomic step:
- get size of partition
- create an empty filesystem image
- erase the partition
- flush empty fs to the partition
This command applicable only for ext4 filesystem and checks the
partition type before formatting it.
Change-Id: Ifa42deaa66c3cb96ff786a73c3fadad92658f395
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
