Home
last modified time | relevance | path

Searched refs:fs_file (Results 1 – 15 of 15) sorted by relevance

/dragonfly/usr.sbin/quotaon/
H A Dquotaon.c119 if ((argnum = oneof(fs->fs_file, argv, argc)) >= 0 || in main()
149 if (strcmp(fs->fs_file, "/") && readonly(fs)) in quotaonoff()
152 if (quotactl(fs->fs_file, QCMD(Q_QUOTAOFF, type), 0, 0) < 0) { in quotaonoff()
153 warn("%s", fs->fs_file); in quotaonoff()
157 printf("%s: quotas turned off\n", fs->fs_file); in quotaonoff()
162 warn("%s", fs->fs_file); in quotaonoff()
166 printf("%s: %s quotas turned on\n", fs->fs_file, in quotaonoff()
229 if (statfs(fs->fs_file, &fsbuf) < 0 || in readonly()
230 strcmp(fsbuf.f_mntonname, fs->fs_file) || in readonly()
232 printf("%s: not mounted\n", fs->fs_file); in readonly()
[all …]
/dragonfly/libexec/rpc.rquotad/
H A Drquotad.c48 char *fs_file; /* mount point of the filesystem */ member
203 fs_current->fs_file = malloc(sizeof(char) * (strlen(fs->fs_file) + 1)); in initfs()
204 strcpy(fs_current->fs_file, fs->fs_file); in initfs()
209 stat(fs_current->fs_file, &st); in initfs()
240 if (quotactl(fs->fs_file, qcmd, id, dqblk) == 0) in getfsquota()
302 sprintf(buf, "%s/%s.%s", fs->fs_file, QUOTAFILENAME, qfextension[USRQUOTA]); in hasquota()
/dragonfly/sbin/dump/
H A Doptr.c271 (new->fs_file = strdup(fs->fs_file)) == NULL || in allocfsent()
327 if (strcmp(fs->fs_file, key) == 0 || in fstabsearch()
337 if (*fs->fs_file == '/' && in fstabsearch()
338 strcmp(fs->fs_file + 1, key) == 0) in fstabsearch()
392 dt ? dt->fs_file : "", in lastdump()
H A Dmain.c311 strncpy(spcl.c_filesys, dt->fs_file, NAMELEN); in main()
331 msgtail("(%s) ", dt->fs_file); in main()
/dragonfly/lib/libc/gen/
H A Dfstab.c92 if (strcmp(_fs_fstab.fs_file, "/") != 0) in fixfsfile()
126 _fs_fstab.fs_file = strsep(&p, ":\n"); in fstabscan()
155 _fs_fstab.fs_file = cp; in fstabscan()
238 if (!strcmp(_fs_fstab.fs_file, name)) in getfsfile()
/dragonfly/usr.sbin/repquota/
H A Drepquota.c151 if ((argnum = oneof(fs->fs_file, argv, argc)) >= 0 || in main()
187 if (quotactl(fs->fs_file, QCMD(Q_SYNC, type), 0, 0) < 0 && in repquota()
197 qfextension[type], fs->fs_file, fs->fs_spec); in repquota()
297 sprintf(buf, "%s/%s.%s", fs->fs_file, qfname, qfextension[type]); in hasquota()
/dragonfly/sbin/mount_ufs/
H A Dmount.c178 fs->fs_file, init_flags, options, in main()
218 strcmp(fs->fs_file, in main()
248 rval = mountfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, in main()
289 if (fs->fs_file[0] == '/' && fs->fs_file[1] == '\0') in ismounted()
294 if (strcmp(fs->fs_file, mntbuf[i].f_mntonname) == 0 && in ismounted()
/dragonfly/sbin/mount/
H A Dmount.c205 fs->fs_file, init_flags, options, in main()
245 strcmp(fs->fs_file, in main()
275 rval = mountfs(fs->fs_vfstype, fs->fs_spec, fs->fs_file, in main()
330 if (fs->fs_file[0] == '/' && fs->fs_file[1] == '\0') in ismounted()
335 if (strcmp(fs->fs_file, mntbuf[i].f_mntonname) == 0 && in ismounted()
/dragonfly/include/
H A Dfstab.h59 char *fs_file; /* file system path prefix */ member
/dragonfly/usr.sbin/edquota/
H A Dedquota.c333 strcmp(fspath, fs->fs_file)) in getprivs()
342 if (quotactl(fs->fs_file, qcmd, id, &qup->dqblk) != 0) { in getprivs()
384 strcpy(qup->fsname, fs->fs_file); in getprivs()
809 sprintf(buf, "%s/%s.%s", fs->fs_file, qfname, qfextension[type]); in hasquota()
/dragonfly/sbin/quotacheck/
H A Dquotacheck.c174 if (((argnum = oneof(fs->fs_file, argv, argc)) >= 0 || in main()
179 errs += chkquota(name, fs->fs_file, auxdata); in main()
447 "%s/%s.%s", fs->fs_file, qfname, qfextension[type]); in hasquota()
/dragonfly/sbin/fsck/
H A Dpreen.c94 fsp->fs_file, auxdata, 0)) != 0) in checkfstab()
105 addpart(name, fsp->fs_file, auxdata); in checkfstab()
/dragonfly/sbin/umount/
H A Dumount.c210 if (strcmp(fs->fs_file, "/") == 0) in umountall()
231 if ((cp = malloc((size_t)strlen(fs->fs_file) + 1)) == NULL) in umountall()
233 strcpy(cp, fs->fs_file); in umountall()
/dragonfly/usr.bin/quota/
H A Dquota.c517 sprintf(buf, "%s/%s.%s", fs->fs_file, qfname, qfextension[type]); in ufshasquota()
532 if (quotactl(fs->fs_file, qcmd, id, (char *)&qup->dqblk) != 0) { in getufsquota()
/dragonfly/sbin/tunefs/
H A Dtunefs.c279 if (mount("ufs", fs->fs_file, in main()