/freebsd-11-stable/contrib/amd/amd/ |
H A D | amfs_host.c | 96 make_mntpt(char *mntpt, size_t l, const exports ex, const char *mf_mount) argument 100 xstrlcpy(mntpt, mf_mount, l); 102 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir); 108 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]); 110 xsnprintf(mntpt, l, "%s/%s", mf_mount, ex->ex_dir); 318 char mntpt[MAXPATHLEN]; local 424 make_mntpt(mntpt, sizeof(mntpt), ex, mf->mf_mount); 425 if (already_mounted(mlist, mntpt)) 488 make_mntpt(mntpt, sizeo [all...] |
H A D | mapc.c | 641 mapc_create(char *map, char *opt, const char *type, const char *mntpt) argument 743 m->cfm = find_cf_map(mntpt); 806 mapc_find(char *map, char *opt, const char *maptype, const char *mntpt) argument 820 m = mapc_create(map, opt, maptype, mntpt);
|
/freebsd-11-stable/sbin/quotacheck/ |
H A D | quotacheck.c | 261 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-11-stable/sbin/fsck/ |
H A D | fsck.c | 196 const char *spec, *mntpt, *type, *cp; local 200 mntpt = NULL; 211 mntpt = mntp->f_mntonname; 224 mntpt = fs->fs_file; 230 checkfs(type, spec, mntpt, "-F", NULL) == 0) { 235 checkfs(type, spec, mntpt, "-F", NULL) != 0) 238 rval |= checkfs(type, spec, mntpt, NULL, NULL); 298 checkfs(const char *pvfstype, const char *spec, const char *mntpt, argument 355 (void)printf("start %s %swait", mntpt,
|
H A D | preen.c | 298 addpart(const char *type, const char *dev, const char *mntpt) argument 311 p->p_mntpt = estrdup(mntpt);
|
/freebsd-11-stable/bin/df/ |
H A D | df.c | 132 char *mntpt; local 250 if ((mntpt = getmntpt(*argv)) == NULL) { 256 if ((mntpt = getmntpt(*argv)) == NULL) { 267 mntpt = mkdtemp(mntpath); 268 if (mntpt == NULL) { 292 (void)rmdir(mntpt); 295 } else if (statfs(mntpt, &statfsbuf) == 0) { 304 (void)unmount(mntpt, 0); 305 (void)rmdir(mntpt); 315 mntpt [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_mount.sh | 130 atf_test_case mntpt 155 atf_add_test_case mntpt
|
H A D | h_funcs.subr | 42 Mount_Point=$(pwd)/mntpt
|
H A D | t_remove.sh | 53 Mount_Point=$(pwd)/mntpt _test_unmount
|
H A D | t_rmdir.sh | 33 atf_test_case mntpt 195 atf_add_test_case mntpt
|
H A D | t_link.sh | 100 Mount_Point=$(pwd)/mntpt _test_unmount || :
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_mount.c | 476 char *mntpt = NULL; local 488 mntpt = zfs_strdup(hdl, entry.mnt_mountp); 490 mntpt = zfs_strdup(hdl, mountpoint); 495 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0) 498 if (unmount_one(hdl, mntpt, flags) != 0) { 499 free(mntpt); 504 free(mntpt); 974 char *mntpt; local 981 mntpt = zfs_strdup(hdl, mountpoint); 991 free(mntpt); /* do 1043 char *mntpt = NULL; local [all...] |
H A D | libzfs_diff.c | 671 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-11-stable/tools/boot/ |
H A D | rootgen.sh | 84 mntpt=$3 97 zpool create -O mountpoint=none -R ${mntpt} ${pool} ${md}p2 101 cpsys ${src} ${mntpt} 104 cat > ${mntpt}/boot/loader.conf <<EOF 108 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 109 cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko 110 ls -las ${mntpt}/boot 199 mntpt=$3
|
/freebsd-11-stable/sbin/dump/ |
H A D | main.c | 103 char *map, *mntpt; local 343 if ((mntpt = getmntpt(disk, &mntflags)) != NULL) { 357 snprintf(snapname, sizeof snapname, "%s/.snap", mntpt); 368 "%s/.snap/dump_snapshot", mntpt); 370 _PATH_MKSNAP_FFS, mntpt, snapname);
|