summaryrefslogtreecommitdiffstats
path: root/roots.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-08-21 01:03:25 +0200
committerDoug Zongker <dougz@google.com>2013-08-21 22:44:35 +0200
commit239ac6abac4524be93fce710360c0512c6cc2ab3 (patch)
tree55428f9ad654b63d4002ca94902440648c955b96 /roots.h
parentnotify about pending long press (diff)
downloadandroid_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.gz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.bz2
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.lz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.xz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.zst
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.zip
Diffstat (limited to 'roots.h')
-rw-r--r--roots.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/roots.h b/roots.h
index 8abe18fb7..230d9ded3 100644
--- a/roots.h
+++ b/roots.h
@@ -42,6 +42,10 @@ int ensure_path_unmounted(const char* path);
// it is mounted.
int format_volume(const char* volume);
+// Ensure that all and only the volumes that packages expect to find
+// mounted (/tmp and /cache) are mounted. Returns 0 on success.
+int setup_install_mounts();
+
#ifdef __cplusplus
}
#endif