Lines Matching refs:cmdline
1169 exec_command(char *path, char *cmdline[MAX_CMD_LINE])
1178 (void) execv(path, cmdline);
1184 (void) fprintf(stderr, gettext(ERR_FORK_FAIL), cmdline);
1214 char *cmdline[MAX_CMD_LINE];
1222 cmdline[n++] = DRVCONFIG;
1224 cmdline[n++] = "-u"; /* unconfigure */
1226 cmdline[n++] = "-f"; /* force if currently in use */
1229 cmdline[n++] = "-v";
1231 cmdline[n++] = "-b";
1233 cmdline[n++] = "-c";
1234 cmdline[n++] = classes;
1236 cmdline[n++] = "-i";
1237 cmdline[n++] = driver_name;
1238 cmdline[n++] = "-m";
1240 cmdline[n++] = maj_num;
1242 cmdline[n++] = "-x";
1248 cmdline[n++] = "-a";
1249 cmdline[n] = calloc(len + 1, 1);
1250 if (cmdline[n] == NULL) {
1256 cmdline[n++], ' ', 0);
1262 cmdline[n] = (char *)0;
1264 rv = exec_command(DRVCONFIG_PATH, cmdline);
1324 char *cmdline[MAX_CMD_LINE];
1328 cmdline[n++] = DEVFSADM;
1330 cmdline[n++] = "-v";
1332 cmdline[n++] = "-i";
1333 cmdline[n++] = driver_name;
1334 cmdline[n] = (char *)0;
1336 exec_status = exec_command(DEVFSADM_PATH, cmdline);