Searched defs:mount_point (Results 1 - 3 of 3) sorted by relevance

/bootable/recovery/mtdutils/
H A Dmounts.c28 const char *mount_point; member in struct:MountedVolume
49 free((char *)volume->mount_point);
117 char mount_point[64]; local
125 device, mount_point, filesystem, flags);
129 mount_point[sizeof(mount_point)-1] = '\0';
136 v->mount_point = strdup(mount_point);
183 find_mounted_volume_by_mount_point(const char *mount_point) argument
191 if (v->mount_point !
[all...]
H A Dmtdutils.c193 mtd_mount_partition(const MtdPartition *partition, const char *mount_point, argument
202 rv = mount(devname, mount_point, filesystem, flags, NULL);
205 rv = mount(devname, mount_point, filesystem, flags | MS_RDONLY, 0);
208 devname, mount_point, strerror(errno));
210 printf("Mount %s on %s read-only\n", devname, mount_point);
219 rv = stat(mount_point, &st);
225 printf("Fixing execute permissions for %s\n", mount_point);
226 rv = chmod(mount_point, new_mode);
229 mount_point, strerror(errno));
/bootable/recovery/updater/
H A Dinstall.c88 // mount(fs_type, partition_type, location, mount_point)
100 char* mount_point; local
106 &location, &mount_point, &mount_options) < 0) {
112 &location, &mount_point) < 0) {
130 if (strlen(mount_point) == 0) {
131 ErrorAbort(state, "mount_point argument to %s() can't be empty", name);
138 selabel_lookup(sehandle, &secontext, mount_point, 0755);
142 mkdir(mount_point, 0755);
159 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) {
165 result = mount_point;
194 char* mount_point; local
222 char* mount_point; local
282 char* mount_point; local
[all...]

Completed in 94 milliseconds