Home | History | Annotate | Download | only in updater

Lines Matching defs:fs_type

51 // mount(fs_type, partition_type, location, mount_point)
53 // fs_type="yaffs2" partition_type="MTD" location=partition
54 // fs_type="ext4" partition_type="EMMC" location=device
60 char* fs_type;
64 if (ReadArgs(state, argv, 4, &fs_type, &partition_type,
69 if (strlen(fs_type) == 0) {
70 ErrorAbort(state, "fs_type argument to %s() can't be empty", name);
111 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) {
119 if (mount(location, mount_point, fs_type,
130 free(fs_type);
197 // format(fs_type, partition_type, location, fs_size, mount_point)
199 // fs_type="yaffs2" partition_type="MTD" location=partition fs_size=<bytes> mount_point=<location>
200 // fs_type="ext4" partition_type="EMMC" location=device fs_size=<bytes> mount_point=<location>
209 char* fs_type;
215 if (ReadArgs(state, argv, 5, &fs_type, &partition_type, &location, &fs_size, &mount_point) < 0) {
219 if (strlen(fs_type) == 0) {
220 ErrorAbort(state, "fs_type argument to %s() can't be empty", name);
266 } else if (strcmp(fs_type, "ext4") == 0) {
277 printf("%s: unsupported fs_type \"%s\" partition_type \"%s\"",
278 name, fs_type, partition_type);
282 free(fs_type);