Searched refs:fs_spec (Results 1 - 20 of 20) sorted by relevance

/freebsd-12-stable/include/
H A Dfstab.h43 * For ufs fs_spec field is the block special name. Programs that want to
59 char *fs_spec; /* block special device name */ member in struct:fstab
/freebsd-12-stable/lib/libc/gen/
H A Dfstab.c107 _fs_fstab.fs_spec = buf;
128 _fs_fstab.fs_spec = strsep(&p, ":\n");
152 _fs_fstab.fs_spec = cp;
153 if (_fs_fstab.fs_spec == NULL || *_fs_fstab.fs_spec == '#')
155 if (strunvis(_fs_fstab.fs_spec, _fs_fstab.fs_spec) < 0)
238 if (!strcmp(_fs_fstab.fs_spec, name))
/freebsd-12-stable/sbin/quotacheck/
H A Dpreen.c127 sumstatus = chkquota(fs->fs_spec, qfu, qfg);
256 struct diskentry *d = finddisk(fs->fs_spec);
260 if (strcmp(p->p_devname, fs->fs_spec) == 0) {
261 warnx("%s in fstab more than once!\n", fs->fs_spec);
266 p->p_devname = estrdup(blockcheck(fs->fs_spec));
H A Dquotacheck.c212 (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) &&
213 (name = blockcheck(fs->fs_spec))) {
/freebsd-12-stable/sbin/dump/
H A Doptr.c297 (new->fs_spec = strdup(fs->fs_spec)) == NULL)
353 strcmp(fs->fs_spec, key) == 0)
355 rn = rawname(fs->fs_spec);
359 if (*fs->fs_spec == '/' &&
360 strcmp(fs->fs_spec + 1, key) == 0)
H A Dmain.c350 disk = rawname(dt->fs_spec);
352 errx(X_STARTUP, "%s: unknown file system", dt->fs_spec);
353 (void)strncpy(spcl.c_dev, dt->fs_spec, NAMELEN);
/freebsd-12-stable/sbin/fsck_ffs/
H A Dutilities.c98 newname = fsinfo->fs_spec;
/freebsd-12-stable/usr.sbin/bsdinstall/partedit/
H A Dpartedit.c157 free(md->fstab->fs_spec);
253 free(md->fstab->fs_spec);
390 md->fstab->fs_spec, md->fstab->fs_file,
532 if (strncmp(fstab->fs_spec, "/dev/", 5) == 0)
533 md->name = strdup(&fstab->fs_spec[5]);
536 md->fstab->fs_spec = strdup(fstab->fs_spec);
H A Dgpart_ops.c722 free(md->fstab->fs_spec);
734 free(md->fstab->fs_spec);
741 md->fstab->fs_spec = strdup(zpool_name);
743 md->fstab->fs_spec = malloc(strlen(name) +
745 sprintf(md->fstab->fs_spec, "/dev/%s", name);
/freebsd-12-stable/sbin/fsck/
H A Dfsck.c223 spec = fs->fs_spec;
269 if (getmntpt(fs->fs_spec) == NULL)
271 if (checkfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, "-F", 0))
291 if (checkfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, "-F", NULL) != 0)
293 printf("%s: DEFER FOR BACKGROUND CHECKING\n", fs->fs_spec);
H A Dpreen.c112 name = fs->fs_spec;
142 "BAD DISK NAME %s\n", fs->fs_spec);
/freebsd-12-stable/usr.sbin/repquota/
H A Drepquota.c175 (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) {
213 qfextension[type], fs->fs_file, fs->fs_spec);
222 qfextension[type], fs->fs_file, fs->fs_spec);
/freebsd-12-stable/usr.sbin/quotaon/
H A Dquotaon.c127 (argnum = oneof(fs->fs_spec, argv, argc)) >= 0) {
/freebsd-12-stable/lib/libufs/
H A Dtype.c135 name = fs->fs_spec;
/freebsd-12-stable/sbin/mount/
H A Dmount.c369 if (mountfs(fs->fs_vfstype, fs->fs_spec,
410 if (strcmp(fs->fs_spec,
422 mntfromname = fs->fs_spec;
444 rval = mountfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file,
518 (strcmp(fs->fs_spec, mntbuf[i].f_mntfromname) == 0)))
/freebsd-12-stable/sbin/swapon/
H A Dswapon.c193 swfile = swap_on_off(fsp->fs_spec, 1,
/freebsd-12-stable/usr.sbin/quot/
H A Dquot.c625 quot(fs->fs_spec, 0);
/freebsd-12-stable/sbin/savecore/
H A Dsavecore.c1004 DoFile(savedir, fsp->fs_spec);
/freebsd-12-stable/usr.sbin/edquota/
H A Dedquota.c382 if (fspath && *fspath && strcmp(fspath, fs->fs_spec) &&
/freebsd-12-stable/sbin/growfs/
H A Dgrowfs.c1305 return (fs->fs_spec);

Completed in 216 milliseconds