/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/ |
H A D | zfs_copies_006_pos.ksh | 50 if ismounted $mntp ufs ; then 51 log_must umount $mntp 58 if [[ -d $mntp ]]; then 59 rm -rf $mntp 66 mntp=$UFS_MNTPOINT 69 if [[ ! -d $mntp ]]; then 70 mkdir -p $mntp 74 do_vol_test ufs $val $mntp
|
H A D | zfs_copies.kshlib | 94 # $3 mntp for ufs test 99 typeset mntp=$3 109 log_must mount -F ufs -o rw $vol_b_path $mntp 120 log_must mkfile $FILESIZE $mntp/$FILE 138 umount $mntp
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | cleanup.ksh | 38 typeset mntp=$(get_prop mountpoint $QFS) 39 log_must chmod 0755 $mntp
|
H A D | userquota_common.kshlib | 73 typeset mntp=$(get_prop mountpoint $fs) 74 log_must chmod 0777 $mntp 83 typeset mntp=$(get_prop mountpoint $fs) 84 log_must chmod 0755 $mntp
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_share/ |
H A D | zfs_share_006_pos.ksh | 59 for fs in $mntp $TESTDIR1 $TESTDIR2 73 function test_ctr_share # mntp ctr 75 typeset mntp=$1 78 not_shared $mntp || \ 79 log_fail "Mountpoint: $mntp is already shared." 83 not_shared $mntp || \ 84 log_fail "File system $mntp is shared (set sharenfs)." 101 typeset mntp=$(get_prop mountpoint $TESTPOOL/$TESTCTR) 102 test_ctr_share $mntp $TESTPOOL/$TESTCTR
|
H A D | zfs_share_003_pos.ksh | 73 function test_legacy_share # mntp filesystem 75 typeset mntp=$1 78 not_shared $mntp || \ 83 not_shared $mntp || \ 93 not_shared $mntp || \
|
H A D | zfs_share_004_pos.ksh | 65 function test_snap_share # mntp filesystem 67 typeset mntp=$1 70 not_shared $mntp || \ 74 is_shared $mntp || \ 77 log_must ls -l $mntp/$SNAPROOT/snapshot 84 is_shared $mntp || \ 87 log_must ls -l $mntp/$SNAPROOT/snapshot
|
H A D | zfs_share_001_pos.ksh | 83 function test_share # mntp filesystem 85 typeset mntp=$1 88 not_shared $mntp || \ 92 is_shared $mntp || \ 99 is_shared $mntp && \ 103 is_shared $mntp || \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
H A D | zfs_unshare_003_pos.ksh | 66 function test_snap_unshare # <mntp> <filesystem> 68 typeset mntp=$1 75 is_shared $mntp || unshare -F nfs $mntp 81 not_shared $mntp || \ 84 not_shared $mntp@snapshot || \
|
H A D | zfs_unshare_001_pos.ksh | 85 function test_unshare # <mntp> <filesystem> 87 typeset mntp=$1 94 not_shared $mntp || 95 log_must unshare -F nfs $mntp 97 is_shared $mntp || \ 102 is_shared $mntp || log_must zfs share $filesystem 108 not_shared $mntp || log_fail "'zfs unshare <filesystem>' fails" 112 log_must zfs unshare $mntp 113 not_shared $mntp || log_fail "'zfs unshare <mountpoint>' fails" 117 log_mustnot zfs unshare $mntp [all...] |
H A D | zfs_unshare_002_pos.ksh | 83 function test_legacy_unshare # <mntp> <filesystem> 85 typeset mntp=$1 89 not_shared $mntp || \ 93 log_must share -F nfs $mntp 94 is_shared $mntp || \ 100 is_shared $mntp || \ 107 log_mustnot zfs unshare $mntp 108 is_shared $mntp || \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_014_neg.ksh | 56 log_must umount $mntp 76 typeset mntp=/mnt 77 typeset TMP_FILE=$mntp/tmpfile.$$ 82 log_must mount /dev/zvol/dsk/$vol_name $mntp
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/ |
H A D | quotaon.c | 90 struct mnttab mntp; local 211 while ((status = getmntent(mtab, &mntp)) == 0) 225 while ((status = getmntent(mtab, &mntp)) == NULL) { 226 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && 227 !hasmntopt(&mntp, MNTOPT_RO) && 228 (oneof(mntp.mnt_special, listp, listcnt) || 229 oneof(mntp.mnt_mountp, listp, listcnt))) { 230 errs += quotaonoff(&mntp, offmode); 248 quotaonoff(struct mnttab *mntp, int offmode) argument 252 if (quotactl(Q_QUOTAOFF, mntp [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/ |
H A D | umount.c | 165 struct extmnttab *mntp; local 169 mntp = mnttab_find(pathname); 170 if (mntp) { 171 pathname = mntp->mnt_mountp; 174 if (mntp) 175 is_v4 = is_v4_mount(mntp); 195 if (mntp) { 196 inform_server(mntp->mnt_special, mntp->mnt_mntopts, quick); 361 is_v4_mount(struct extmnttab *mntp) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 121 struct mnttab mntp; local 236 while (getmntent(mtab, &mntp) == NULL) { 237 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && 238 !hasmntopt(&mntp, MNTOPT_RO) && 239 (oneof(mntp.mnt_special, listp, listcnt) || 240 oneof(mntp.mnt_mountp, listp, listcnt))) { 242 "%s/%s", mntp.mnt_mountp, QFNAME); 244 chkquota(mntp.mnt_special, 245 mntp.mnt_mountp, quotafile); 274 struct mnttab mntp, mpre local 709 struct mnttab mntp; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | mntent.c | 37 static struct mntent *mntp; variable in typeref:struct:mntent 43 if (mntp == 0) 44 mntp = (struct mntent *)calloc(1, sizeof (struct mntent)); 45 return (mntp); 161 nfields = mnttabscan(mnttabp, mntp); 164 return (mntp);
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | canmount_003_pos.ksh | 65 mntp=$(get_prop mountpoint $ds) 67 if [[ -d $mntp ]]; then 68 log_must rm -fr $mntp
|
/illumos-gate/usr/src/cmd/rexd/ |
H A D | mntent.c | 35 static struct mnttab *mntp = 0; variable in typeref:struct:mnttab 45 if (mntp == 0) 46 mntp = (struct mnttab *)calloc(1, sizeof (struct mnttab)); 47 return (mntp); 180 * nfields = mnttabscan(mnttabp, mntp); 185 * mp = mntp; 203 * nfields = mnttabscan(mnttabp, mntp); 206 * return (mntp);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/umount/ |
H A D | umount.c | 133 struct extmnttab *mntp; local 136 mntp = mnttab_find(pathname); 137 if (mntp) { 138 pathname = mntp->mnt_mountp;
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/ |
H A D | quot.c | 193 struct mnttab mntp; local 203 while (getmntent(fstab, &mntp) == NULL) { 204 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) 207 if ((cp = getfullrawname(mntp.mnt_special)) == NULL) 213 if (check(cp, mntp.mnt_mountp) == 0) { 248 struct mnttab mntp; local 255 while (getmntent(fstab, &mntp) == NULL) { 256 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) 258 if (strcmp(mntp.mnt_special, file) == 0) { 259 fsdir = mntp 470 struct mnttab mntp; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/ |
H A D | repquota.c | 101 struct mnttab mntp; local 209 while (getmntent(mtab, &mntp) == 0) { 210 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && 211 !hasmntopt(&mntp, MNTOPT_RO) && 212 (oneof(mntp.mnt_special, listp, listcnt) || 213 oneof(mntp.mnt_mountp, listp, listcnt))) { 215 mntp.mnt_mountp, QFNAME); 216 errs += repquota(mntp.mnt_special, 217 mntp.mnt_mountp, quotafile); 440 struct mnttab mntp; local [all...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_003_pos.ksh | 57 for mntp in $TESTDIR1 $TESTDIR2; do 58 [[ -d $mntp ]] && \ 59 log_must rm -rf $mntp
|
H A D | zfs_destroy_004_pos.ksh | 106 mntp=`echo $arg | awk '{print $2}'` 110 cd $mntp
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 438 warn(struct mnttab *mntp, struct dqblk *dqp) argument 446 printf("Block limit reached on %s\n", mntp->mnt_mountp); 451 mntp->mnt_mountp, 458 mntp->mnt_mountp, 464 mntp->mnt_mountp, 470 printf("File count limit reached on %s\n", mntp->mnt_mountp); 475 mntp->mnt_mountp, 485 mntp->mnt_mountp, 492 mntp->mnt_mountp, 517 prquota(struct mnttab *mntp, struc argument 622 getdiskquota(struct mnttab *mntp, uid_t uid, struct dqblk *dqp) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/ |
H A D | edquota.c | 659 struct mnttab mntp; local 670 while (getmntent(mtab, &mntp) == 0) { 671 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) 673 if (stat64(mntp.mnt_special, &statb) < 0) 679 mntp.mnt_mountp, QFNAME); 688 fsqp->fsq_fs = strdup(mntp.mnt_mountp); 689 fsqp->fsq_dev = strdup(mntp.mnt_special); 820 struct mnttab mntp; local 844 while ((status = getmntent(fstab, &mntp)) == NULL) { 853 if (strcmp(mntp [all...] |