Home | History | Annotate | Download | only in updater

Lines Matching defs:fs_type

45 // mount(fs_type, partition_type, location, mount_point)
47 // fs_type="yaffs2" partition_type="MTD" location=partition
48 // fs_type="ext4" partition_type="EMMC" location=device
54 char* fs_type;
58 if (ReadArgs(state, argv, 4, &fs_type, &partition_type,
63 if (strlen(fs_type) == 0) {
64 ErrorAbort(state, "fs_type argument to %s() can't be empty", name);
105 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) {
113 if (mount(location, mount_point, fs_type,
124 free(fs_type);
191 // format(fs_type, partition_type, location, fs_size, mount_point)
193 // fs_type="yaffs2" partition_type="MTD" location=partition fs_size=<bytes> mount_point=<location>
194 // fs_type="ext4" partition_type="EMMC" location=device fs_size=<bytes> mount_point=<location>
203 char* fs_type;
209 if (ReadArgs(state, argv, 5, &fs_type, &partition_type, &location, &fs_size, &mount_point) < 0) {
213 if (strlen(fs_type) == 0) {
214 ErrorAbort(state, "fs_type argument to %s() can't be empty", name);
260 } else if (strcmp(fs_type, "ext4") == 0) {
271 fprintf(stderr, "%s: unsupported fs_type \"%s\" partition_type \"%s\"",
272 name, fs_type, partition_type);
276 free(fs_type);