Searched refs:mntpt (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.1-release/tools/regression/geom_gpt/
H A Dgctl.t35 my $mntpt = "/tmp/mount-$$";
194 system("mkdir $mntpt-$args");
196 system("mount -t ufs /dev/$args $mntpt-$args");
199 system("umount $mntpt-$args");
200 system("rmdir $mntpt-$args");
/freebsd-10.1-release/contrib/amd/amd/
H A Damfs_host.c100 make_mntpt(char *mntpt, size_t l, const exports ex, const char *mf_mount) argument
104 xstrlcpy(mntpt, mf_mount, l);
106 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir);
112 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]);
114 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir);
315 char mntpt[MAXPATHLEN]; local
421 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount);
422 if (already_mounted(mlist, mntpt))
485 make_mntpt(mntpt, sizeo
[all...]
/freebsd-10.1-release/sbin/quotacheck/
H A Dquotacheck.c261 const char *mntpt; local
265 mntpt = quota_fsname(qfu);
267 mntpt = quota_fsname(qfg);
273 mntpt, cflag);
278 mntpt);
284 mntpt, cflag);
289 mntpt);
298 if ((stat(mntpt, &sb)) < 0) {
299 warn("%s", mntpt);
309 (void)printf(" quotas for %s (%s)\n", specname, mntpt);
[all...]
/freebsd-10.1-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_mount.c381 char *mntpt = NULL; local
393 mntpt = zfs_strdup(hdl, entry.mnt_mountp);
395 mntpt = zfs_strdup(hdl, mountpoint);
400 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0)
403 if (unmount_one(hdl, mntpt, flags) != 0) {
404 free(mntpt);
409 free(mntpt);
862 char *mntpt; local
868 mntpt = zfs_strdup(hdl, mountpoint);
872 free(mntpt); /* do
923 char *mntpt = NULL; local
[all...]
H A Dlibzfs_diff.c671 get_mountpoint(differ_info_t *di, char *dsnm, char **mntpt) argument
675 mounted = is_mounted(di->zhp->zfs_hdl, dsnm, mntpt);
684 if (**mntpt == '/' && *(*mntpt + 1) == '\0')
685 **mntpt = '\0';
711 char *mntpt; local
715 err = get_mountpoint(di, di->fromsnap, &mntpt);
719 frommntpt = mntpt;
/freebsd-10.1-release/bin/df/
H A Ddf.c110 char *mntpath, *mntpt; local
213 if ((mntpt = getmntpt(*argv)) == NULL) {
219 if ((mntpt = getmntpt(*argv)) == NULL) {
227 mntpt = mkdtemp(mntpath);
228 if (mntpt == NULL) {
234 if (mount(fstype, mntpt, MNT_RDONLY,
238 (void)rmdir(mntpt);
241 } else if (statfs(mntpt, &statfsbuf) == 0) {
250 (void)unmount(mntpt, 0);
251 (void)rmdir(mntpt);
[all...]
/freebsd-10.1-release/sbin/fsck/
H A Dfsck.c186 const char *spec, *mntpt, *type, *cp; local
190 mntpt = NULL;
201 mntpt = mntp->f_mntonname;
214 mntpt = fs->fs_file;
220 checkfs(type, spec, mntpt, "-F", NULL) == 0) {
225 checkfs(type, spec, mntpt, "-F", NULL) != 0)
228 rval |= checkfs(type, spec, mntpt, NULL, NULL);
288 checkfs(const char *pvfstype, const char *spec, const char *mntpt, argument
345 (void)printf("start %s %swait", mntpt,
H A Dpreen.c298 addpart(const char *type, const char *dev, const char *mntpt) argument
311 p->p_mntpt = estrdup(mntpt);
/freebsd-10.1-release/sbin/dump/
H A Dmain.c103 char *map, *mntpt; local
343 if ((mntpt = getmntpt(disk, &mntflags)) != 0) {
357 snprintf(snapname, sizeof snapname, "%s/.snap", mntpt);
368 "%s/.snap/dump_snapshot", mntpt);
370 _PATH_MKSNAP_FFS, mntpt, snapname);

Completed in 178 milliseconds