Home
last modified time | relevance | path

Searched refs:vfstype (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sbin/mount/
H A Dmount.c107 const char *mntfromname, *mntonname, **vfslist, *vfstype; in main() local
123 vfstype = ffs_fstype; in main()
150 vfstype = optarg; in main()
297 vfstype = "nfs"; in main()
299 vfstype = getfslab(mntfromname); in main()
300 if (vfstype == NULL) in main()
301 vfstype = ffs_fstype; in main()
304 rval = mountfs(vfstype, mntfromname, argv[1], init_flags, in main()
355 mountfs(const char *vfstype, const char *spec, const char *name, in mountfs() argument
421 strncmp(vfstype, mountedtype, cmplen) == 0) { in mountfs()
[all …]
/netbsd-src/sbin/fsck/
H A Dfsck.c100 const char *vfstype = NULL; in main() local
151 vfstype = optarg; in main()
232 if (vfstype == NULL) in main()
233 vfstype = getfslab(spec); in main()
234 type = vfstype; in main()
280 const char * volatile vfstype = vfst; in checkfs() local
286 const char *extra = getoptions(vfstype); in checkfs()
288 if (!strcmp(vfstype, "ufs")) in checkfs()
289 vfstype = MOUNT_UFS; in checkfs()
301 (void) snprintf(execbase, sizeof(execbase), "fsck_%s", vfstype); in checkfs()
[all …]