summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatol Pomazau2011-12-15 19:50:18 -0600
committerAnatol Pomazau2012-02-17 18:29:58 -0600
commitc8ba5366da7e23ebf1cd76bcf49449b878563102 (patch)
tree04f6ea0258b528aeed71450dd5f12b5483aade52 /libion/ion.c
parentfc656103dba298dbab1377ab07060068f50a5f83 (diff)
downloadplatform-system-core-c8ba5366da7e23ebf1cd76bcf49449b878563102.tar.gz
platform-system-core-c8ba5366da7e23ebf1cd76bcf49449b878563102.tar.xz
platform-system-core-c8ba5366da7e23ebf1cd76bcf49449b878563102.zip
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: I8529bc3485739487f0d91312f7c0ab1a6e5d8b44
Diffstat (limited to 'libion/ion.c')
0 files changed, 0 insertions, 0 deletions