summaryrefslogtreecommitdiffstats
path: root/fsck_unshare_blocks.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove fsck_unshare_blocks.David Anderson2020-01-271-22/+0
| | | | | | | | | | This code is dead. It was briefly used to support "adb remount" with deduplicated partitions, but was very quickly obsoleted by overlayfs support. There is no reason to include it anymore. Bug: N/A Test: N/A Change-Id: I4cdcbf66bec80092f954826eaae037934ff37765
* recovery: add --fsck_unshare_blocks option for adb remountDavid Anderson2018-05-301-0/+22
Allow "adb remount" on deduplicated filesystems to reboot into recovery and run e2fsck to undo deduplication. The e2fsck binary is copied from the system partition into tmpfs, and the system partition is unmounted so e2fsck can run safely. Bug: 64109868 Test: recovery with --fsck_unshare_blocks; adb remount Change-Id: I7558749b018b58f3c4339e51a95831dbd5be1ae3