/freebsd-13-stable/sys/contrib/openzfs/etc/init.d/ |
H A D | zfs-mount.in | 65 local verbose overlay i mntpt 86 mntpt=$(eval echo "\$$var") 88 if ! in_mtab "$mntpt" && ! is_mounted "$mntpt" && [ -e "$dev" ] 91 zfs_log_progress_msg "$mntpt " 92 fsck "$dev" && mount "$mntpt" 104 mntpt=$(eval echo "\$$var") 105 if ! in_mtab "$mntpt" && ! is_mounted "$mntpt" 108 zfs_log_progress_msg "$mntpt " [all...] |
/freebsd-13-stable/usr.sbin/bsdinstall/scripts/ |
H A D | bootconfig | 63 mntpt="$BSDINSTALL_CHROOT/boot/efi" 66 mkdir -p "${mntpt}/${FREEBSD_BOOTDIR}" "${mntpt}/${BOOTDIR}" 67 cp "$BSDINSTALL_CHROOT/boot/loader.efi" "${mntpt}/${FREEBSD_BOOTNAME}" 80 if [ ! -f "${mntpt}/${BOOTNAME}" ]; then 81 cp "$BSDINSTALL_CHROOT/boot/loader.efi" "${mntpt}/${BOOTNAME}" 87 efibootmgr --create --activate --label "$bootlabel" --loader "${mntpt}/${FREEBSD_BOOTNAME}" > /dev/null
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
H A D | decompress_fault.ksh | 46 mntpt=$(get_prop mountpoint $TESTPOOL/fs) 47 write_compressible $mntpt 32m 1 1024k "testfile" 51 log_must zinject -a -t data -e decompress -f 20 $mntpt/testfile.0 52 log_mustnot eval "cat $mntpt/testfile.0 > /dev/null"
|
H A D | decrypt_fault.ksh | 45 mntpt=$(get_prop mountpoint $TESTPOOL/fs) 46 log_must mkfile 32M $mntpt/file1 48 log_must zinject -a -t data -e decrypt -f 20 $mntpt/file1 52 log_mustnot eval "cat $mntpt/file1 > /dev/null"
|
/freebsd-13-stable/tools/boot/ |
H A D | install-boot.sh | 75 local dev file mntpt fstype efibootname kbfree loadersize efibootfile 82 mntpt=$(mktemp -d /tmp/stand-test.XXXXXX) 91 mount -t msdosfs "${dev}" "${mntpt}" 96 echo "Mounted ESP ${dev} on ${mntpt}" 99 kbfree=$(df -k "${mntpt}" | tail -1 | cut -w -f 4) 105 efibootfile="${mntpt}/EFI/BOOT/${efibootname}.efi" 112 rmdir "${mntpt}/EFI/BOOT" 115 mv "${efibootfile}" "${mntpt}/EFI/BOOT/${efibootname}-old.efi" 119 if [ ! -f "${mntpt}/EFI/freebsd/loader.efi" ] && [ "$kbfree" -lt "$loadersize" ]; then 120 umount "${mntpt}" [all...] |
H A D | rootgen.sh | 91 mntpt=$3 104 zpool create -O mountpoint=none -R ${mntpt} ${pool} ${md}p2 108 cpsys ${src} ${mntpt} 110 cat >> ${mntpt}/boot/loader.conf <<EOF 114 cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko 115 cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko 116 cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko 130 mntpt=$3 143 zpool create -O mountpoint=none -R ${mntpt} ${pool} ${md}p2 147 cpsys ${src} ${mntpt} [all...] |
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | canmount_004_pos.ksh | 62 mntpt=$(get_prop mountpoint $CS_FS) 64 "[canmount=$canmnt,sharenfs=$shnfs,sharesmb=$shsmb,mountpoint=$mntpt]." 85 mntpt=$(get_prop mountpoint $CS_FS) 86 if [[ "$mntpt" == "$oldmpt" ]]; then
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | canmount_004_pos.ksh | 79 mntpt=$(get_prop mountpoint $CS_FS) 81 "[canmount=$canmnt,sharenfs=$shnfs,sharesmb=$shsmb,mountpoint=$mntpt]." 102 mntpt=$(get_prop mountpoint $CS_FS) 103 if [[ "$mntpt" == "$oldmpt" ]]; then
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_005_neg.ksh | 104 mntpt=$(get_prop mountpoint $FS) 105 pidlist=$(mkbusy $mntpt/$TESTFILE0) 106 log_note "mkbusy $mntpt/$TESTFILE0 (pidlist: $pidlist)" 180 mntpt=$(snapshot_mountpoint $FSSNAP) 181 pidlist=$(mkbusy $mntpt) 182 log_note "mkbusy $mntpt (pidlist: $pidlist)"
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
H A D | libzfs_zmount.c | 116 do_mount(zfs_handle_t *zhp, const char *mntpt, char *opts, int flags) argument 119 return (do_mount_(zfs_get_name(zhp), mntpt, flags, MNTTYPE_ZFS, NULL, 0, 120 opts, sizeof (mntpt))); 124 do_unmount(const char *mntpt, int flags) argument 126 if (unmount(mntpt, flags) < 0)
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/ |
H A D | inherit_001_pos.ksh | 181 typeset mntpt="" 186 mntpt=${local_val[idx]}.1 188 mntpt=${local_val[idx]}.2 190 mntpt=${local_val[idx]}.3 193 mntpt="/$dataset" 209 mntpt=$new_path"/"$obj_name 211 echo $mntpt
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
H A D | zfs_unshare_003_pos.ksh | 85 log_fail "Snapshot $mntpt@snapshot is shared (set sharenfs)."
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/ |
H A D | zfs_unshare_003_pos.ksh | 100 log_fail "Snapshot $mntpt@snapshot is shared (set sharenfs)."
|
/freebsd-13-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-13-stable/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_mount_os.c | 323 do_mount(zfs_handle_t *zhp, const char *mntpt, char *opts, int flags) argument 338 zfs_adjust_mount_options(zhp, mntpt, myopts, NULL); 339 if (mount(src, mntpt, MNTTYPE_ZFS, mntflags, myopts)) { 349 (char *)mntpt, 377 do_unmount(const char *mntpt, int flags) argument 380 int rv = umount2(mntpt, flags); 403 argv[count] = (char *)mntpt;
|
/freebsd-13-stable/sbin/fsck/ |
H A D | fsck.c | 197 const char *spec, *mntpt, *type, *cp; local 201 mntpt = NULL; 212 mntpt = mntp->f_mntonname; 225 mntpt = fs->fs_file; 231 checkfs(type, spec, mntpt, "-F", NULL) == 0) { 236 checkfs(type, spec, mntpt, "-F", NULL) != 0) 239 rval |= checkfs(type, spec, mntpt, NULL, NULL); 299 checkfs(const char *pvfstype, const char *spec, const char *mntpt, argument 356 (void)printf("start %s %swait", mntpt,
|
H A D | preen.c | 300 addpart(const char *type, const char *dev, const char *mntpt) argument 313 p->p_mntpt = estrdup(mntpt);
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/inheritance/ |
H A D | inherit_001_pos.ksh | 194 typeset mntpt="" 197 mntpt=${local_val[idx]} 199 mntpt="$ZFSROOT/"$dataset 215 mntpt=$new_path"/"$obj_name 217 print $mntpt
|
/freebsd-13-stable/contrib/netbsd-tests/fs/tmpfs/ |
H A D | h_funcs.subr | 42 Mount_Point=$(pwd)/mntpt
|
H A D | t_mount.sh | 130 atf_test_case mntpt 155 atf_add_test_case mntpt
|
H A D | t_remove.sh | 53 Mount_Point=$(pwd)/mntpt _test_unmount
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_mount.c | 614 char *mntpt = NULL; local 627 mntpt = zfs_strdup(hdl, entry.mnt_mountp); 629 mntpt = zfs_strdup(hdl, mountpoint); 634 if (zfs_unshare_proto(zhp, mntpt, share_all_proto) != 0) { 635 free(mntpt); 640 if (unmount_one(hdl, mntpt, flags) != 0) { 641 free(mntpt); 648 free(mntpt); 934 char *mntpt = NULL; local 938 mntpt [all...] |
H A D | libzfs_diff.c | 646 get_mountpoint(differ_info_t *di, char *dsnm, char **mntpt) argument 650 mounted = is_mounted(di->zhp->zfs_hdl, dsnm, mntpt); 659 if (**mntpt == '/' && *(*mntpt + 1) == '\0') 660 **mntpt = '\0'; 686 char *mntpt; local 690 err = get_mountpoint(di, di->fromsnap, &mntpt); 694 frommntpt = mntpt;
|
/freebsd-13-stable/bin/df/ |
H A D | df.c | 118 char *mntpt; local 233 if ((mntpt = getmntpt(*argv)) == NULL) { 239 mntpt = getmntpt(*argv); 240 if (mntpt == NULL) { 246 mntpt = *argv; 253 if (statfs(mntpt, &statfsbuf) < 0) { 254 xo_warn("%s", mntpt);
|
/freebsd-13-stable/tests/sys/cddl/zfs/tests/delegate/ |
H A D | delegate_common.kshlib | 698 typeset mntpt=$(get_prop mountpoint $fs) 721 # typeset snapdir=${mntpt}/$(get_snapdir_name)/snap.$stamp 740 typeset mntpt=$(get_prop mountpoint $fs) 748 log_must $TOUCH $mntpt/testfile.$stamp 751 if [[ -e $mntpt/testfile.$stamp ]]; then 765 if [[ -e $mntpt/testfile.$stamp ]]; then 908 typeset mntpt=$(get_prop mountpoint $fs) 936 log_must $ZFS set mountpoint=$mntpt $fs 949 typeset mntpt=$(get_prop mountpoint $fs) 955 user_run $user $SHARE $mntpt [all...] |