Lines Matching refs:spec
353 const char *spec;
358 spec = fp->fs_spec;
381 spec = strdup(s + strlen(NFSMNTPT));
382 if (spec == NULL)
388 if (strlen(spec) == 0) {
390 free((char *)spec);
398 execl(PATH_MOUNT, PATH_MOUNT, fp->fs_spec, spec,
407 free((char *)spec);
410 } else if (isduid(spec, 0)) {
419 if (strncmp("/dev/", spec, 5) != 0)
422 if (stat(spec, &st) == -1) {
423 warn("%s", spec);
437 if (swapctl(SWAP_ON, spec, (int)priority) == -1) {
439 warn("%s", spec);
446 if (spec != fp->fs_spec)
447 free((char *)spec);