/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | share_mount_001_neg.ksh | 39 # 1. Set mountpoint as legacy or none 48 log_must zfs set mountpoint=$oldmpt $fs 55 oldmpt=$(get_prop mountpoint $fs) 58 log_must zfs set mountpoint=$propval $fs
|
H A D | canmount_004_pos.ksh | 62 mntpt=$(get_prop mountpoint $CS_FS) 64 "[canmount=$canmnt,sharenfs=$shnfs,sharesmb=$shsmb,mountpoint=$mntpt]." 75 log_must zfs create -o canmount=noauto -o mountpoint=$oldmpt $CS_FS 85 mntpt=$(get_prop mountpoint $CS_FS) 87 log_must zfs set mountpoint="$newmpt" $CS_FS 89 log_must zfs set mountpoint="$oldmpt" $CS_FS
|
H A D | mountpoint_001_pos.ksh | 37 # Setting valid mountpoint to filesystem, it is successful. 39 # 'zfs set mountpoint=<path>|legacy|none <fs|ctr|vol>' 43 # 2. Loop all the valid mountpoint value. 62 log_must zfs set mountpoint=$old_ctr_mpt $TESTPOOL/$TESTCTR 63 log_must zfs set mountpoint=$old_fs_mpt $TESTPOOL/$TESTFS 68 log_assert "Setting a valid mountpoint to file system, it must be successful." 71 old_fs_mpt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 73 log_fail "Get the $TESTPOOL/$TESTFS mountpoint error." 74 old_ctr_mpt=$(get_prop mountpoint $TESTPOOL/$TESTCTR) 76 log_fail "Get the $TESTPOOL/$TESTCTR mountpoint erro [all...] |
H A D | mountpoint_002_pos.ksh | 38 # and the mountpoint property is changed, the file system remains unmounted. 43 # 2. Change the mountpoint to the valid mountpoint value. 57 log_must zfs set mountpoint=$old_ctr_mpt $TESTPOOL/$TESTCTR 58 log_must zfs set mountpoint=$old_fs_mpt $TESTPOOL/$TESTFS 64 log_assert "Setting a valid mountpoint for an unmounted file system, \ 68 old_fs_mpt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 70 log_fail "Unable to get the mountpoint property for $TESTPOOL/$TESTFS" 71 old_ctr_mpt=$(get_prop mountpoint $TESTPOOL/$TESTCTR) 73 log_fail "Unable to get the mountpoint propert [all...] |
H A D | mountpoint_003_pos.ksh | 40 # 2. Create a test ZFS file system and set mountpoint=legacy. 52 [[ -n $oldmpt ]] && log_must zfs set mountpoint=$oldmpt $testfs 79 oldmpt=$(get_prop mountpoint $testfs) 80 log_must zfs set mountpoint=legacy $testfs
|
H A D | canmount_003_pos.ksh | 57 log_must zfs set mountpoint=${old_mnt[i]} $ds 65 mntp=$(get_prop mountpoint $ds) 95 old_mnt[i]=$(get_prop mountpoint $ds)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refquota/ |
H A D | refquota_001_pos.ksh | 52 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 64 mntpnt=$(get_prop mountpoint $fs) 71 mntpnt=$(get_prop mountpoint $sub)
|
H A D | refquota_004_pos.ksh | 50 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 61 mntpnt=$(get_prop mountpoint $fs)
|
H A D | refquota_005_pos.ksh | 50 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 62 mntpnt=$(get_prop mountpoint $fs/subfs)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | cleanup.ksh | 38 typeset mntp=$(get_prop mountpoint $QFS)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_008_pos.ksh | 41 # 2. Unmount fs1 and set mountpoint property is identical to fs. 66 # Get the original mountpoint of $fs and $fs1 67 mntpnt=$(get_prop mountpoint $fs) 69 mntpnt1=$(get_prop mountpoint $fs1) 75 log_must zfs set mountpoint=$mntpnt $fs1 79 # Create new file in override mountpoint 88 log_must zfs set mountpoint=$mntpnt1 $fs1
|
H A D | zfs_mount_003_pos.ksh | 37 # Invoke "zfs mount <filesystem>" with a filesystem whose mountpoint property 44 # - zfs set mountpoint=legacy <filesystem> 45 # - zfs set mountpoint=none <filesystem> 53 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 59 "whose mountpoint property is 'legacy' or 'none' " \ 73 log_must zfs set mountpoint=${mopt[i]} $TESTPOOL/$TESTFS 89 "whose mountpoint property is 'legacy' or 'none' " \
|
H A D | zfs_mount.kshlib | 88 log_must zfs set mountpoint=$mntpoint $pool/$fs 93 log_must zfs set mountpoint=$mntpoint $pool/$fs 113 mtpt=$(get_prop mountpoint "$pool/$fs")
|
H A D | zfs_mount_006_pos.ksh | 38 # which mountpoint be the identical or the top of an existing one, 45 # - zfs set mountpoint=<identical path> <filesystem> 46 # - zfs set mountpoint=<top path> <filesystem> 61 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 70 "which mountpoint be the identical or the top of an existing one " \ 90 log_must zfs set mountpoint=$mtpt $TESTPOOL/$TESTFS 104 "which mountpoint be the identical of an existing one " \ 107 log_must zfs set mountpoint=$mtpt $TESTPOOL/$TESTFS1 117 "which mountpoint be the top of an existing one " \ 123 "which mountpoint b [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_scrub/ |
H A D | setup.ksh | 40 mntpnt=$(get_prop mountpoint $TESTPOOL)
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mount/ |
H A D | setup.ksh | 43 log_must zfs set mountpoint=$dir $fs
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/refreserv/ |
H A D | refreserv_005_pos.ksh | 51 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 63 avail=$(get_prop mountpoint $vol)
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 33 * mountpoint. 125 * Search the sharetab for the given mountpoint and protocol, returning 129 is_shared(libzfs_handle_t *hdl, const char *mountpoint, zfs_share_proto_t proto) argument 141 /* the mountpoint is the first entry on each line */ 146 if (strcmp(buf, mountpoint) == 0) { 267 * in 'where' with the current mountpoint, and return 1. Otherwise, we return 292 * mountpoint in 'buf'. 331 char mountpoint[ZFS_MAXPROPLEN]; local 346 if (!zfs_is_mountable(zhp, mountpoint, sizeof (mountpoint), NUL 419 unmount_one(libzfs_handle_t *hdl, const char *mountpoint, int flags) argument 435 zfs_unmount(zfs_handle_t *zhp, const char *mountpoint, int flags) argument 530 char *mountpoint; local 769 char mountpoint[ZFS_MAXPROPLEN]; local 879 unshare_one(libzfs_handle_t *hdl, const char *name, const char *mountpoint, zfs_share_proto_t proto) argument 922 zfs_unshare_proto(zfs_handle_t *zhp, const char *mountpoint, zfs_share_proto_t *proto) argument 960 zfs_unshare_nfs(zfs_handle_t *zhp, const char *mountpoint) argument 966 zfs_unshare_smb(zfs_handle_t *zhp, const char *mountpoint) argument 1009 zfs_unshareall_bypath(zfs_handle_t *zhp, const char *mountpoint) argument 1028 char mountpoint[ZFS_MAXPROPLEN]; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename.kshlib | 51 log_must cp $DATA $(get_prop mountpoint $TESTPOOL/$TESTFS1)/$TESTFILE0 56 log_must cp $DATA $(get_prop mountpoint $TESTPOOL/$TESTCTR1)/$TESTFILE0 63 log_must cp $DATA $(get_prop mountpoint $TESTPOOL/$TESTVOL)/$TESTFILE0 96 typeset mntp=$(get_prop mountpoint $newfs) 99 log_must zfs set mountpoint=$mntp $oldfs
|
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_mount.c | 91 * Description: Mounts a BE and its subordinate datasets at a given mountpoint. 109 char *mountpoint = NULL; local 132 /* Get mountpoint */ 133 if (nvlist_lookup_string(be_attrs, BE_ATTR_MOUNTPOINT, &mountpoint) 148 ret = _be_mount(be_name, &mountpoint, flags); 191 /* Check if we have mountpoint argument instead of BE name */ 233 * will generate a temporary mountpoint to mount the BE at. It 234 * will return this temporary mountpoint to the caller via the 302 * Fix this BE's mountpoint if its root dataset isn't set to 306 be_print_err(gettext("be_mount: mountpoint chec 425 char mountpoint[MAXPATHLEN]; local 575 char mountpoint[MAXPATHLEN]; local 648 char mountpoint[MAXPATHLEN]; local 712 char mountpoint[MAXPATHLEN]; local 999 char mountpoint[MAXPATHLEN]; local 1152 char mountpoint[MAXPATHLEN]; local 1300 char mountpoint[MAXPATHLEN]; local 1433 char mountpoint[MAXPATHLEN]; local 1655 char mountpoint[MAXPATHLEN]; local 1972 get_mountpoint_from_vfstab(char *altroot, const char *fs, char *mountpoint, size_t size_mp, boolean_t get_alt_mountpoint) argument 2039 char mountpoint[MAXPATHLEN]; local 2121 char mountpoint[MAXPATHLEN]; local 2195 char mountpoint[MAXPATHLEN]; local 2259 char mountpoint[MAXPATHLEN]; local [all...] |
/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | fs-minimal | 57 mountpt=`zfs get -H -o value mountpoint $be$fs 2>/dev/null` 76 /sbin/zfs list -rH -o mountpoint -s mountpoint -t filesystem $be | \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_010_pos.ksh | 90 mntpnt=$(get_prop mountpoint $fs) 91 mntpnt2=$(get_prop mountpoint $fs2) 167 mntpnt_old=$(get_prop mountpoint $fs) 168 mntpnt_new=$(get_prop mountpoint $rfs) 173 mntpnt_old=$(get_prop mountpoint $fs2) 174 mntpnt_new=$(get_prop mountpoint $rfs)
|
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/ |
H A D | tunefs.c | 151 char *special, *name, *mountpoint = NULL; local 174 searchmnttab(&special, &mountpoint); 176 * If mounted device, search mnttab for mountpoint 181 searchmnttab(&special, &mountpoint); 187 if (mountpoint == NULL) 207 * If a mountpoint has been found then we will ioctl() the file 212 if (mountpoint == NULL) { 217 mountpoint = NULL; 318 if (mountpoint) { 319 mountfd = open(mountpoint, O_RDONL [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
H A D | zfs_unmount_009_pos.ksh | 69 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 77 log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS 91 typeset mtpt=$(get_prop mountpoint $fs)
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare_zfs.c | 209 * compares the mountpoint on two zfs file systems handles. 230 * return legacy mountpoint. Caller provides space for mountpoint and 235 char *mountpoint, size_t mlen) 252 (void) strlcpy(mountpoint, entry.mnt_mountp, 279 char mountpoint[ZFS_MAXPROPLEN]; local 284 /* must have a mountpoint */ 285 if (zfs_prop_get(zlist[i], ZFS_PROP_MOUNTPOINT, mountpoint, 286 sizeof (mountpoint), NULL, NULL, 0, B_FALSE) != 0) { 287 /* no mountpoint */ 234 get_legacy_mountpoint(char *path, char *dataset, size_t dlen, char *mountpoint, size_t mlen) argument 543 zfs_inherited(sa_handle_t handle, sa_share_t share, char *sourcestr, char *shareopts, char *mountpoint, char *proto, char *dataset) argument 617 zfs_notinherited(sa_group_t group, sa_share_t share, char *mountpoint, char *shareopts, char *proto, char *dataset, int grouperr) argument 695 sa_zfs_process_share(sa_handle_t handle, sa_group_t group, sa_share_t share, char *mountpoint, char *proto, zprop_source_t source, char *shareopts, char *sourcestr, char *dataset) argument 758 char mountpoint[ZFS_MAXPROPLEN]; local 1392 char mountpoint[ZFS_MAXPROPLEN]; local [all...] |