Lines Matching refs:mount_args
163 const char* mount_args[16];
169 mount_args[last++] = "mount";
170 mount_args[last++] = "-ttmpfs";
173 mount_args[last++] = size_arg.c_str();
175 mount_args[last++] = "tmpfs";
176 mount_args[last++] = mount_point.c_str();
180 mount_args[last++] = "mount";
181 mount_args[last++] = "-ttmpfs";
184 mount_args[last++] = size_arg.c_str();
186 mount_args[last++] = "tmpfs";
187 mount_args[last++] = mount_point.c_str();
191 mount_args[last++] = "mount";
192 mount_args[last++] = "-ttmpfs";
195 mount_args[last++] = size_arg.c_str();
197 mount_args[last++] = "tmpfs";
198 mount_args[last++] = mount_point.c_str();
202 mount_args[last++] = "mount";
203 mount_args[last++] = "-Ftmpfs";
206 mount_args[last++] = size_arg.c_str();
208 mount_args[last++] = "tmpfs";
209 mount_args[last++] = mount_point.c_str();
217 mount_args[last] = NULL;
221 for (arg = &mount_args[0]; *arg != NULL; arg++)
225 const int ret = ::execvp(mount_args[0],
226 UTILS_UNCONST(char* const, mount_args));
228 std::cerr << "Failed to exec " << mount_args[0] << "\n";