aboutsummaryrefslogtreecommitdiffstats
path: root/libnetutils
diff options
context:
space:
mode:
authorAnatol Pomazau <anatol@google.com>2011-12-15 17:50:18 -0800
committerAnatol Pomazau <anatol@google.com>2012-02-03 16:07:18 -0800
commit230d160a718333651f7ca1557404f96682795b37 (patch)
tree6b5a97bfc436c49f1e99a5cf64be85bd78fcfe50 /libnetutils
parent7806e5648557532fcfb971bd2fd88f4033f32cb8 (diff)
downloadsystem_core-230d160a718333651f7ca1557404f96682795b37.tar.gz
system_core-230d160a718333651f7ca1557404f96682795b37.tar.bz2
system_core-230d160a718333651f7ca1557404f96682795b37.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: I8529bc1dc64237f1f0d91312f7c0ab1a6e5d8b44
Diffstat (limited to 'libnetutils')
0 files changed, 0 insertions, 0 deletions