-
Omid Tourzan authored
Add SinglePartitionFormat method to cros-disk client. It supposed to remove all existing partition on the disk, create a new one and format it. It tracks pending partitioning disks to prevent auto-mounting when partitioning finished, otherwise there will be conflict between auto-mount (initiated by kernel reread partition table) and format flow. The key to get device path of newly created partition is storage device path that is identical with parent device. Bug: 491043 Change-Id: I026e72dc499a55bb99f2e5f7bf5707f08c4fb393 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340347Reviewed-by:
Austin Tankiang <austinct@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Omid Tourzan <oto@chromium.org> Cr-Commit-Position: refs/heads/master@{#812508}
6dd41eba