summaryrefslogtreecommitdiffstats
path: root/roots.cpp
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2015-06-30 03:57:14 +0200
committerSimon Wilson <simonwilson@google.com>2015-07-01 19:13:16 +0200
commit0ddfa329acb1e6464fe5d66b58257013abf21116 (patch)
tree554f044f51db7947d46d3c0d1003e87888548b62 /roots.cpp
parentDO NOT MERGE Revert "Erase PST partition if its marked to be erased." (diff)
downloadandroid_bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar
android_bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar.gz
android_bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar.bz2
android_bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar.lz
android_bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar.xz
android_bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.tar.zst
android_bootable_recovery-0ddfa329acb1e6464fe5d66b58257013abf21116.zip
Diffstat (limited to '')
-rw-r--r--roots.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/roots.cpp b/roots.cpp
index ee140160c..bca4b57a2 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -111,6 +111,7 @@ int ensure_path_mounted(const char* path) {
}
return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0);
} else if (strcmp(v->fs_type, "ext4") == 0 ||
+ strcmp(v->fs_type, "squashfs") == 0 ||
strcmp(v->fs_type, "vfat") == 0) {
result = mount(v->blk_device, v->mount_point, v->fs_type,
MS_NOATIME | MS_NODEV | MS_NODIRATIME, "");