Lines Matching defs:type
67 char *type;
180 #define BADTYPE(type) \
181 (strcmp(type, FSTAB_RO) && \
182 strcmp(type, FSTAB_RW) && strcmp(type, FSTAB_RQ))
186 const char *spec, *mntpt, *type, *cp;
208 errx(1, "Could not determine filesystem type");
209 type = vfstype;
213 type = fs->fs_vfstype;
216 errx(1, "%s has unknown file system type.",
220 checkfs(type, spec, mntpt, "-F", NULL) == 0) {
225 checkfs(type, spec, mntpt, "-F", NULL) != 0)
228 rval |= checkfs(type, spec, mntpt, NULL, NULL);
307 * XXX This is a kludge to make automatic filesystem type guessing
405 selected(const char *type)
409 /* If no type specified, it's always selected. */
411 if (!strncmp(e->type, type, MFSNAMELEN))
419 getoptions(const char *type)
424 if (!strncmp(e->type, type, MFSNAMELEN))
442 if (!strncmp(e->type, optstr, MFSNAMELEN)) {
451 addentry(struct fstypelist *list, const char *type, const char *opts)
456 e->type = estrdup(type);
468 errx(1, "empty type list");
548 /* deduce the file system type from the disk label */