Home | History | Annotate | Download | only in recovery

Lines Matching full:mount_point

63         printf("  %d %s %s %s %lld\n", i, v->mount_point, v->fs_type,
73 // Mount the volume specified by path at the given mount_point.
74 int ensure_path_mounted_at(const char* path, const char* mount_point) {
92 if (!mount_point) {
93 mount_point = v->mount_point;
97 find_mounted_volume_by_mount_point(mount_point);
103 mkdir(mount_point, 0755); // in case it doesn't already exist
112 v->blk_device, mount_point);
115 return mtd_mount_partition(partition, mount_point, v->fs_type, 0);
119 result = mount(v->blk_device, mount_point, v->fs_type,
123 LOGE("failed to mount %s (%s)\n", mount_point, strerror(errno));
127 LOGE("unknown fs_type \"%s\" for %s\n", v->fs_type, mount_point);
155 find_mounted_volume_by_mount_point(v->mount_point);
189 if (strcmp(v->mount_point, volume) != 0) {
195 LOGE("format_volume failed to unmount \"%s\"\n", v->mount_point);
288 if (strcmp(v->mount_point, "/tmp") == 0 ||
289 strcmp(v->mount_point, "/cache") == 0) {
290 if (ensure_path_mounted(v->mount_point) != 0) {
291 LOGE("failed to mount %s\n", v->mount_point);
296 if (ensure_path_unmounted(v->mount_point) != 0) {
297 LOGE("failed to unmount %s\n", v->mount_point);