Home
last modified time | relevance | path

Searched refs:fs_spec (Results 1 – 19 of 19) sorted by relevance

/freebsd/lib/libc/gen/
H A Dfstab.c103 _fs_fstab.fs_spec = buf; in fixfsfile()
124 _fs_fstab.fs_spec = strsep(&p, ":\n"); in fstabscan()
148 _fs_fstab.fs_spec = cp; in fstabscan()
149 if (_fs_fstab.fs_spec == NULL || *_fs_fstab.fs_spec == '#') in fstabscan()
151 if (strunvis(_fs_fstab.fs_spec, _fs_fstab.fs_spec) < 0) in fstabscan()
234 if (!strcmp(_fs_fstab.fs_spec, name)) in getfsspec()
/freebsd/sbin/quotacheck/
H A Dpreen.c118 sumstatus = chkquota(fs->fs_spec, qfu, qfg); in checkfstab()
247 struct diskentry *d = finddisk(fs->fs_spec); in addpart()
251 if (strcmp(p->p_devname, fs->fs_spec) == 0) { in addpart()
252 warnx("%s in fstab more than once!\n", fs->fs_spec); in addpart()
257 p->p_devname = estrdup(blockcheck(fs->fs_spec)); in addpart()
H A Dquotacheck.c198 (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) && in main()
199 (name = blockcheck(fs->fs_spec))) { in main()
/freebsd/sbin/dump/
H A Doptr.c289 (new->fs_spec = strdup(fs->fs_spec)) == NULL) in allocfsent()
345 strcmp(fs->fs_spec, key) == 0) in fstabsearch()
347 rn = rawname(fs->fs_spec); in fstabsearch()
351 if (*fs->fs_spec == '/' && in fstabsearch()
352 strcmp(fs->fs_spec + 1, key) == 0) in fstabsearch()
H A Dmain.c338 disk = rawname(dt->fs_spec); in main()
340 errx(X_STARTUP, "%s: unknown file system", dt->fs_spec); in main()
341 (void)strncpy(spcl.c_dev, dt->fs_spec, NAMELEN); in main()
/freebsd/usr.sbin/bsdinstall/partedit/
H A Dpartedit.c163 free(md->fstab->fs_spec); in main()
260 free(md->fstab->fs_spec); in delete_part_metadata()
450 md->fstab->fs_spec, md->fstab->fs_file, in apply_changes()
595 if (strncmp(fstab->fs_spec, "/dev/", 5) == 0) in init_fstab_metadata()
596 md->name = strdup(&fstab->fs_spec[5]); in init_fstab_metadata()
599 md->fstab->fs_spec = strdup(fstab->fs_spec); in init_fstab_metadata()
H A Dgpart_ops.c768 free(md->fstab->fs_spec); in set_default_part_metadata()
780 free(md->fstab->fs_spec); in set_default_part_metadata()
787 md->fstab->fs_spec = strdup(zpool_name); in set_default_part_metadata()
789 asprintf(&md->fstab->fs_spec, "/dev/%s", name); in set_default_part_metadata()
/freebsd/sbin/fsck/
H A Dfsck.c219 spec = fs->fs_spec; in main()
268 if (getmntpoint(fs->fs_spec) == NULL) in isok()
270 if (checkfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, "-F", 0)) in isok()
290 if (checkfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, "-F", NULL) != 0) in isok()
292 printf("%s: DEFER FOR BACKGROUND CHECKING\n", fs->fs_spec); in isok()
H A Dpreen.c104 name = fs->fs_spec; in checkfstab()
133 "BAD DISK NAME %s\n", fs->fs_spec); in checkfstab()
/freebsd/usr.sbin/repquota/
H A Drepquota.c161 (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) { in main()
199 qfextension[type], fs->fs_file, fs->fs_spec); in repquota()
208 qfextension[type], fs->fs_file, fs->fs_spec); in repquota()
/freebsd/include/
H A Dfstab.h56 char *fs_spec; /* block special device name */ member
/freebsd/sbin/mount/
H A Dmount.c321 if (mountfs(fs->fs_vfstype, fs->fs_spec, in main()
370 if (strcmp(fs->fs_spec, in main()
382 mntfromname = fs->fs_spec; in main()
404 rval = mountfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, in main()
478 (strcmp(fs->fs_spec, mntbuf[i].f_mntfromname) == 0))) in ismounted()
/freebsd/sbin/fsck_ffs/
H A Dutilities.c90 newname = fsinfo->fs_spec; in blockcheck()
/freebsd/usr.sbin/quotaon/
H A Dquotaon.c113 (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) { in main()
/freebsd/lib/libufs/
H A Dtype.c131 name = fs->fs_spec; in ufs_disk_fillout_blank()
/freebsd/usr.sbin/quot/
H A Dquot.c628 quot(fs->fs_spec, 0); in main()
/freebsd/sbin/swapon/
H A Dswapon.c185 swfile = swap_on_off(fsp->fs_spec, 1, in main()
/freebsd/usr.sbin/edquota/
H A Dedquota.c367 if (fspath && *fspath && strcmp(fspath, fs->fs_spec) && in getprivs()
/freebsd/sbin/savecore/
H A Dsavecore.c1367 argv[argc] = strdup(fsp->fs_spec); in enum_dumpdevs()