/freebsd-current/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 | 46 mntpt=$(get_prop mountpoint $TESTPOOL/fs) 47 log_must mkfile 32M $mntpt/file1 49 log_must zinject -a -t data -e decrypt -f 20 $mntpt/file1 53 log_mustnot eval "cat $mntpt/file1 > /dev/null"
|
/freebsd-current/usr.sbin/bsdinstall/scripts/ |
H A D | bootconfig | 69 efibootmgr --create --activate --label "$EFI_LABEL_NAME" --loader "${mntpt}/${FREEBSD_BOOTNAME}" > /dev/null 79 efibootmgr --create --activate --label "$EFI_LABEL_NAME" --loader "${mntpt}/${FREEBSD_BOOTNAME}" > /dev/null 85 efibootmgr --create --activate --label "$FREEBSD_BOOTLABEL" --loader "${mntpt}/${FREEBSD_BOOTNAME}" > /dev/null 116 mntpt="$BSDINSTALL_CHROOT/boot/efi" 119 mkdir -p "${mntpt}/${FREEBSD_BOOTDIR}" "${mntpt}/${BOOTDIR}" 120 cp "$BSDINSTALL_CHROOT/boot/loader.efi" "${mntpt}/${FREEBSD_BOOTNAME}" 133 if [ ! -f "${mntpt}/${BOOTNAME}" ]; then 134 cp "$BSDINSTALL_CHROOT/boot/loader.efi" "${mntpt}/${BOOTNAME}"
|
/freebsd-current/tools/boot/ |
H A D | install-boot.sh | 73 local dev file mntpt fstype efibootname kbfree loadersize efibootfile 80 mntpt=$(mktemp -d /tmp/stand-test.XXXXXX) 89 mount -t msdosfs "${dev}" "${mntpt}" 94 echo "Mounted ESP ${dev} on ${mntpt}" 97 kbfree=$(df -k "${mntpt}" | tail -1 | cut -w -f 4) 103 efibootfile="${mntpt}/EFI/BOOT/${efibootname}.efi" 110 rmdir "${mntpt}/EFI/BOOT" 113 mv "${efibootfile}" "${mntpt}/EFI/BOOT/${efibootname}-old.efi" 117 if [ ! -f "${mntpt}/EFI/freebsd/loader.efi" ] && [ "$kbfree" -lt "$loadersize" ]; then 118 umount "${mntpt}" [all...] |
H A D | rootgen.sh | 104 mntpt=$3 126 mntpt=$3 149 mntpt=$3 208 mntpt=$3 235 mntpt=$3 255 mntpt=$3 282 mntpt=$3 297 mount /dev/${md}p2.eli ${mntpt} 298 cpsys ${src} ${mntpt} 300 cat > ${mntpt}/boo [all...] |
/freebsd-current/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-current/tests/sys/cddl/zfs/tests/cli_root/zfs_set/ |
H A D | canmount_004_pos.ksh | 74 mntpt=$(get_prop mountpoint $CS_FS) 76 "[canmount=$canmnt,sharenfs=$shnfs,sharesmb=$shsmb,mountpoint=$mntpt]." 97 mntpt=$(get_prop mountpoint $CS_FS) 98 if [[ "$mntpt" == "$oldmpt" ]]; then
|
/freebsd-current/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-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/append/ |
H A D | file_append.ksh | 46 mntpt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 47 filename=$mntpt/append_file.txt
|
/freebsd-current/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
H A D | libzfs_zmount.c | 74 do_mount(zfs_handle_t *zhp, const char *mntpt, const char *opts, int flags) argument 82 assert(mntpt != NULL); 96 build_iovec(&iov, &iovlen, "fspath", __DECONST(char *, mntpt), 110 do_unmount(zfs_handle_t *zhp, const char *mntpt, int flags) argument 113 if (unmount(mntpt, flags) < 0)
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/ |
H A D | inherit_001_pos.ksh | 182 typeset mntpt="" 187 mntpt=${local_val[idx]}.1 189 mntpt=${local_val[idx]}.2 191 mntpt=${local_val[idx]}.3 194 mntpt="/$dataset" 210 mntpt=$new_path"/"$obj_name 212 echo $mntpt
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
H A D | zfs_unshare_003_pos.ksh | 84 log_fail "Snapshot $mntpt@snapshot is shared (set sharenfs)."
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/ |
H A D | zfs_unshare_003_pos.ksh | 95 log_fail "Snapshot $mntpt@snapshot is shared (set sharenfs)."
|
/freebsd-current/sbin/quotacheck/ |
H A D | quotacheck.c | 247 const char *mntpt; local 251 mntpt = quota_fsname(qfu); 253 mntpt = quota_fsname(qfg); 259 mntpt, cflag); 264 mntpt); 270 mntpt, cflag); 275 mntpt); 284 if ((stat(mntpt, &sb)) < 0) { 285 warn("%s", mntpt); 295 (void)printf(" quotas for %s (%s)\n", specname, mntpt); [all...] |
/freebsd-current/sys/contrib/openzfs/lib/libzfs/os/linux/ |
H A D | libzfs_mount_os.c | 330 do_mount(zfs_handle_t *zhp, const char *mntpt, const char *opts, int flags) argument 345 zfs_adjust_mount_options(zhp, mntpt, myopts, NULL); 346 if (mount(src, mntpt, MNTTYPE_ZFS, mntflags, myopts)) { 356 (char *)mntpt, 384 do_unmount(zfs_handle_t *zhp, const char *mntpt, int flags) argument 389 int rv = umount2(mntpt, flags); 406 argv[count] = (char *)mntpt;
|
/freebsd-current/sbin/fsck/ |
H A D | fsck.c | 193 const char *spec, *mntpt, *type, *cp; local 197 mntpt = NULL; 208 mntpt = mntp->f_mntonname; 221 mntpt = fs->fs_file; 227 checkfs(type, spec, mntpt, "-F", NULL) == 0) { 232 checkfs(type, spec, mntpt, "-F", NULL) != 0) 235 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,
|
/freebsd-current/tests/sys/cddl/zfs/tests/inheritance/ |
H A D | inherit_001_pos.ksh | 189 typeset mntpt="" 192 mntpt=${local_val[idx]} 194 mntpt="$ZFSROOT/"$dataset 210 mntpt=$new_path"/"$obj_name 212 print $mntpt
|
/freebsd-current/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
|
H A D | t_rmdir.sh | 33 atf_test_case mntpt 195 atf_add_test_case mntpt
|
/freebsd-current/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_impl.h | 226 extern int do_mount(zfs_handle_t *zhp, const char *mntpt, const char *opts, 228 extern int do_unmount(zfs_handle_t *zhp, const char *mntpt, int flags);
|
H A D | libzfs_mount.c | 593 char *mntpt = NULL; local 606 mntpt = zfs_strdup(hdl, entry.mnt_mountp); 608 mntpt = zfs_strdup(hdl, mountpoint); 613 if (zfs_unshare(zhp, mntpt, share_all_proto) != 0) { 614 free(mntpt); 619 if (unmount_one(zhp, mntpt, flags) != 0) { 620 free(mntpt); 627 free(mntpt); 817 const char *mntpt = mountpoint ?: entry.mnt_mountp; local 821 if (sa_is_shared(mntpt, *curr_prot [all...] |
/freebsd-current/bin/df/ |
H A D | df.c | 105 char *mntpt; local 212 if ((mntpt = getmntpt(*argv)) == NULL) { 218 mntpt = getmntpt(*argv); 219 if (mntpt == NULL) { 225 mntpt = *argv; 232 if (statfs(mntpt, &statfsbuf) < 0) { 233 xo_warn("%s", mntpt);
|
/freebsd-current/tests/sys/cddl/zfs/tests/delegate/ |
H A D | delegate_common.kshlib | 693 typeset mntpt=$(get_prop mountpoint $fs) 716 # typeset snapdir=${mntpt}/$(get_snapdir_name)/snap.$stamp 735 typeset mntpt=$(get_prop mountpoint $fs) 743 log_must $TOUCH $mntpt/testfile.$stamp 746 if [[ -e $mntpt/testfile.$stamp ]]; then 760 if [[ -e $mntpt/testfile.$stamp ]]; then 903 typeset mntpt=$(get_prop mountpoint $fs) 931 log_must $ZFS set mountpoint=$mntpt $fs 944 typeset mntpt=$(get_prop mountpoint $fs) 950 user_run $user $SHARE $mntpt [all...] |