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

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

Completed in 225 milliseconds