platform_bootable_recovery/recovery_utils
Simon Shields e8ccb88add recovery_utils: add support for unmounting entire volumes
When wiping /system, the partition isn't actually mounted at /system
or / - it's mounted at /mnt/system. This breaks 'format system' from
recovery if the partition has been mounted.

This patch adds an ensure_volume_unmounted function that finds all
mounts of a given device and unmounts them, meaning the device
can be safely formatted.

Change-Id: Id4f727f845308a89e865f1ba60dc284f5ebc66e1
2024-09-08 01:03:51 +02:00
..
include/recovery_utils recovery_utils: add support for unmounting entire volumes 2024-09-08 01:03:51 +02:00
Android.bp rm -rf non-AB code 2024-04-05 09:49:38 -07:00
battery_utils.cpp GetBatteryInfo() also reads AIDL health HAL. 2021-12-06 16:53:58 -08:00
logging.cpp otautil: Factor out the utils that're private to recovery. 2019-10-02 10:56:46 -07:00
parse_install_logs.cpp otautil: Factor out the utils that're private to recovery. 2019-10-02 10:56:46 -07:00
roots.cpp recovery_utils: add support for unmounting entire volumes 2024-09-08 01:03:51 +02:00
thermalutil.cpp otautil: Factor out the utils that're private to recovery. 2019-10-02 10:56:46 -07:00