Home
last modified time | relevance | path

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

/bootable/recovery/
Droots.cpp57 device_volumes[0].fs_type = "ramdisk"; in load_volume_table()
78 char* fs_type = strtok(NULL, " \t\n"); in load_volume_table() local
93 if (mount_point && fs_type && device) { in load_volume_table()
99 device_volumes[num_volumes].fs_type = strdup(fs_type); in load_volume_table()
122 printf(" %d %s %s %s %s %lld\n", i, v->mount_point, v->fs_type, in load_volume_table()
147 if (strcmp(v->fs_type, "ramdisk") == 0) { in ensure_path_mounted()
168 if (strcmp(v->fs_type, "yaffs2") == 0) { in ensure_path_mounted()
178 return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0); in ensure_path_mounted()
179 } else if (strcmp(v->fs_type, "ext4") == 0 || in ensure_path_mounted()
180 strcmp(v->fs_type, "vfat") == 0) { in ensure_path_mounted()
[all …]
Dbootloader.cpp39 if (strcmp(v->fs_type, "mtd") == 0) { in get_bootloader_message()
41 } else if (strcmp(v->fs_type, "emmc") == 0) { in get_bootloader_message()
44 LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type); in get_bootloader_message()
54 if (strcmp(v->fs_type, "mtd") == 0) { in set_bootloader_message()
56 } else if (strcmp(v->fs_type, "emmc") == 0) { in set_bootloader_message()
59 LOGE("unknown misc partition fs_type \"%s\"\n", v->fs_type); in set_bootloader_message()
Dcommon.h45 const char* fs_type; // "yaffs2" or "ext4" or "vfat" member
/bootable/recovery/updater/
Dinstall.c54 char* fs_type; in MountFn() local
58 if (ReadArgs(state, argv, 4, &fs_type, &partition_type, in MountFn()
63 if (strlen(fs_type) == 0) { in MountFn()
109 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { in MountFn()
117 if (mount(location, mount_point, fs_type, in MountFn()
128 free(fs_type); in MountFn()
207 char* fs_type; in FormatFn() local
213 … if (ReadArgs(state, argv, 5, &fs_type, &partition_type, &location, &fs_size, &mount_point) < 0) { in FormatFn()
217 if (strlen(fs_type) == 0) { in FormatFn()
264 } else if (strcmp(fs_type, "ext4") == 0) { in FormatFn()
[all …]