Home
last modified time | relevance | path

Searched refs:fs_type (Results 1 – 3 of 3) sorted by relevance

/bootable/recovery/
Droots.cpp65 printf(" %d %s %s %s %lld\n", i, v->mount_point, v->fs_type, in load_volume_table()
81 if (strcmp(v->fs_type, "ramdisk") == 0) { in ensure_path_mounted()
102 if (strcmp(v->fs_type, "yaffs2") == 0) { in ensure_path_mounted()
112 return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0); in ensure_path_mounted()
113 } else if (strcmp(v->fs_type, "ext4") == 0 || in ensure_path_mounted()
114 strcmp(v->fs_type, "squashfs") == 0 || in ensure_path_mounted()
115 strcmp(v->fs_type, "vfat") == 0) { in ensure_path_mounted()
116 result = mount(v->blk_device, v->mount_point, v->fs_type, in ensure_path_mounted()
124 LOGE("unknown fs_type \"%s\" for %s\n", v->fs_type, v->mount_point); in ensure_path_mounted()
134 if (strcmp(v->fs_type, "ramdisk") == 0) { in ensure_path_unmounted()
[all …]
Dbootloader.cpp40 if (strcmp(v->fs_type, "mtd") == 0) { in get_bootloader_message()
42 } else if (strcmp(v->fs_type, "emmc") == 0) { in get_bootloader_message()
45 LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type); in get_bootloader_message()
55 if (strcmp(v->fs_type, "mtd") == 0) { in set_bootloader_message()
57 } else if (strcmp(v->fs_type, "emmc") == 0) { in set_bootloader_message()
60 LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type); in set_bootloader_message()
/bootable/recovery/updater/
Dinstall.c98 char* fs_type; in MountFn() local
106 if (ReadArgs(state, argv, 5, &fs_type, &partition_type, in MountFn()
112 if (ReadArgs(state, argv, 4, &fs_type, &partition_type, in MountFn()
118 if (strlen(fs_type) == 0) { in MountFn()
160 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { in MountFn()
168 if (mount(location, mount_point, fs_type, in MountFn()
180 free(fs_type); in MountFn()
279 char* fs_type; in FormatFn() local
285 … if (ReadArgs(state, argv, 5, &fs_type, &partition_type, &location, &fs_size, &mount_point) < 0) { in FormatFn()
289 if (strlen(fs_type) == 0) { in FormatFn()
[all …]