Lines Matching refs:fstype
81 char *myname, *fstype;
112 static void do_exec(char *fstype, char *nargv[]);
113 static void prnt_cmd(FILE *fd, char *fstype);
254 gettext("%s: more than one fstype specified\n"),
258 fstype = optarg;
259 if (strlen(fstype) > (size_t)FSTYPE_MAX) {
262 myname, fstype, FSTYPE_MAX);
309 do_exec(fstype, nargv);
319 if (fstype == NULL) {
329 if (fstype == NULL || strcmp(fstype, MNTTYPE_UFS) == 0) {
395 (fstype == NULL ||
396 strcmp(fstype, vget.vfs_fstype) == 0)) {
409 if (fstype == NULL && (fd = fopen(vfstab, "r")) == NULL) {
423 if (fstype == NULL) {
552 fstype =
554 status = execute(argv[optind], fstype,
562 status = execute(argv[optind], fstype,
771 execute(char *fsckdev, char *fstype, int Vflg, FILE *fd)
782 prnt_cmd(stdout, fstype);
798 /* Try to exec the fstype dependent portion of the fsck. */
799 do_exec(fstype, nargv);
813 prnt_cmd(stderr, fstype);
828 prnt_cmd(stderr, fstype);
838 do_exec(char *fstype, char *nargv[])
843 if (strlen(fstype) > (size_t)FSTYPE_MAX) {
846 myname, fstype, FSTYPE_MAX);
849 /* build the full pathname of the fstype dependent command. */
850 sprintf(full_path, "%s/%s/%s", vfs_path, fstype, myname);
854 /* Try to exec the fstype dependent portion of the fsck. */
868 /* build the full pathname of the fstype dependent command. */
869 sprintf(full_path, "%s/%s/%s", vfs_path, fstype, myname);
873 /* Try to exec the second fstype dependent portion of the fsck. */
888 myname, fstype);
893 prnt_cmd(FILE *fd, char *fstype)
897 fprintf(fd, "%s -F %s", myname, fstype);