Home
last modified time | relevance | path

Searched refs:mntpnt (Results 1 – 25 of 61) sorted by relevance

123

/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_receive/
H A Dzfs_receive_003_pos.ksh50 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do
61 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs"
62 log_must $MKFILE 10m $mntpnt/file1
64 log_must $MKFILE 10m $mntpnt/file2
72 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
78 log_must $RM -rf $mntpnt/file1
83 log_must $RM -rf $mntpnt/file1
85 if [[ ! -f $mntpnt/file1 || ! -f $mntpnt/file2 ]]; then
H A Dzfs_receive_007_neg.ksh48 for file in $ibackup $mntpnt/file1 $mntpnt/file2; do
63 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs"
64 log_must $MKFILE 10m $mntpnt/file1
66 log_must $MKFILE 10m $mntpnt/file2
75 log_must $MKFILE 20m $mntpnt/file1
76 log_must $RM -rf $mntpnt/file2
H A Dzfs_receive_006_pos.ksh52 for file in $fbackup1 $fbackup2 $mntpnt/file1 $mntpnt/file2; do
81 mntpnt=$(get_prop mountpoint $fs) || log_fail "get_prop mountpoint $fs"
82 log_must $MKFILE 10m $mntpnt/file1
84 log_must $MKFILE 10m $mntpnt/file2
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_export/
H A Dzpool_export_004_pos.ksh51 mntpnt=$(get_prop mountpoint $TESTPOOL)
52 datasetexists $TESTPOOL1 || log_must $ZPOOL import -d $mntpnt $TESTPOOL1
57 if [[ -e $mntpnt/vdev$i ]]; then
58 log_must $RM -f $mntpnt/vdev$i
68 mntpnt=$(get_prop mountpoint $TESTPOOL)
72 log_must $MKFILE 64M $mntpnt/vdev$i
73 eval vdev$i=$mntpnt/vdev$i
81 log_must $ZPOOL import -d $mntpnt $TESTPOOL1
86 log_must $ZPOOL import -d $mntpnt $TESTPOOL1
92 log_must $ZPOOL import -d $mntpnt $TESTPOOL1
/titanic_44/usr/src/test/zfs-tests/tests/functional/refquota/
H A Drefquota_001_pos.ksh64 mntpnt=$(get_prop mountpoint $fs)
66 log_mustnot $MKFILE 11M $mntpnt/file
67 log_must $MKFILE 9M $mntpnt/file
69 log_mustnot $MKFILE 2M $mntpnt/file2
71 mntpnt=$(get_prop mountpoint $sub)
72 log_must $MKFILE 10M $mntpnt/file
74 log_must $MKFILE 10 $mntpnt/file2
H A Drefquota_004_pos.ksh61 mntpnt=$(get_prop mountpoint $fs)
64 log_must $MKFILE 7M $mntpnt/$TESTFILE.$i
66 log_must $RM $mntpnt/$TESTFILE.$i
74 log_mustnot $MKFILE 7M $mntpnt/$TESTFILE
H A Drefquota_005_pos.ksh62 mntpnt=$(get_prop mountpoint $fs/subfs)
65 log_must $MKFILE 7M $mntpnt/$TESTFILE.$i
67 log_must $RM $mntpnt/$TESTFILE.$i
75 log_mustnot $MKFILE 7M $mntpnt/$TESTFILE
H A Drefquota_002_pos.ksh63 mntpnt=$(get_prop mountpoint $fs)
64 log_mustnot $MKFILE 20M $mntpnt/$TESTFILE
77 log_must $RM $mntpnt/$TESTFILE
81 log_mustnot $MKFILE 20M $mntpnt/$TESTFILE
/titanic_44/usr/src/test/zfs-tests/tests/functional/cachefile/
H A Dcachefile_004_pos.ksh58 mntpnt=$(get_prop mountpoint $TESTPOOL)
61 if [[ -e $mntpnt/vdev$i ]]; then
62 log_must $RM -f $mntpnt/vdev$i
84 mntpnt=$(get_prop mountpoint $TESTPOOL)
87 log_must $MKFILE 64M $mntpnt/vdev$i
88 eval vdev$i=$mntpnt/vdev$i
111 log_must $ZPOOL import -d $mntpnt $TESTPOOL1
114 log_must $ZPOOL import -d $mntpnt $TESTPOOL2
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount_008_pos.ksh63 mntpnt=$(get_prop mountpoint $fs)
67 testfile=$mntpnt/$TESTFILE0; testfile1=$mntpnt1/$TESTFILE1
71 log_must $ZFS set mountpoint=$mntpnt $fs1
76 log_must $MKFILE 1M $mntpnt/$TESTFILE2
80 log_must $LS $mntpnt/$TESTFILE1 $mntpnt/$TESTFILE2
89 log_mustnot $LS $mntpnt/$TESTFILE2
/titanic_44/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c85 fs_get_availablesize(char *mntpnt, int *errp) { in fs_get_availablesize() argument
90 if (mntpnt == NULL) { in fs_get_availablesize()
98 if (statvfs64(mntpnt, &stvfs) != -1) { in fs_get_availablesize()
110 fs_get_avail_for_nonsuperuser_size(char *mntpnt, int *errp) { in fs_get_avail_for_nonsuperuser_size() argument
115 if (mntpnt == NULL) { in fs_get_avail_for_nonsuperuser_size()
123 if (statvfs64(mntpnt, &stvfs) != -1) { in fs_get_avail_for_nonsuperuser_size()
135 fs_get_blocksize(char *mntpnt, int *errp) { in fs_get_blocksize() argument
140 if (mntpnt == NULL) { in fs_get_blocksize()
148 if (statvfs64(mntpnt, &stvfs) != -1) { in fs_get_blocksize()
222 fs_get_fragsize(char *mntpnt, int *errp) { in fs_get_fragsize() argument
[all …]
H A Dlibfsmgt.h459 unsigned long long fs_get_availablesize(char *mntpnt, int *errp);
476 unsigned long long fs_get_avail_for_nonsuperuser_size(char *mntpnt,
494 unsigned long long fs_get_blocksize(char *mntpnt, int *errp);
539 unsigned long fs_get_fragsize(char *mntpnt, int *errp);
555 unsigned long fs_get_maxfilenamelen(char *mntpnt, int *errp);
607 unsigned long long fs_get_totalsize(char *mntpnt, int *errp);
623 unsigned long long fs_get_usedsize(char *mntpnt, int *errp);
640 boolean_t fs_is_readonly(char *mntpnt, int *errp);
/titanic_44/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_002_pos.ksh53 mntpnt=$(get_prop mountpoint $ACL_UPGRADE_FS)
54 log_must $MKDIR $mntpnt/dir.$$
55 log_must $CHMOD A+owner@:rwxp:f:allow,group@:rwxp:f:allow $mntpnt/dir.$$
57 log_must $TOUCH $mntpnt/dir.$$/file.$$
58 log_must eval "$LS -V $mntpnt/dir.$$/file.$$ > /dev/null 2>&1"
/titanic_44/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_001_pos.ksh61 mntpnt=$(get_prop mountpoint $TESTPOOL)
63 VDEV1=$mntpnt/vdev1; VDEV2=$mntpnt/vdev2;
64 VDEV3=$mntpnt/vdev3; VDEV4=$mntpnt/vdev4;
83 commands=("$ZPOOL export $MPOOL" "$ZPOOL import -d $mntpnt $MPOOL"
84 "$ZPOOL destroy $MPOOL" "$ZPOOL import -D -f -d $mntpnt $MPOOL")
/titanic_44/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c79 char mntpnt[MAXPATHLEN]; in do_mount1() local
142 len = snprintf(mntpnt, sizeof (mntpnt), "%s%s%s", path, in do_mount1()
145 if (len >= sizeof (mntpnt)) { in do_mount1()
156 while (mntpnt[len] == '/') in do_mount1()
157 mntpnt[len--] = '\0'; in do_mount1()
159 (void) strcpy(spec_mntpnt, mntpnt); in do_mount1()
336 mount_generic(special, fstype, opts, mntpnt, overlay) in mount_generic() argument
337 char *special, *fstype, *opts, *mntpnt; in mount_generic()
347 special, mntpnt, fstype, opts);
350 if (stat(mntpnt, &stbuf) < 0) {
[all …]
H A Dauto_subr.c90 loadzone_maps(char *mntpnt, char *map, char *opts, char **stack, char ***stkptr) in loadzone_maps() argument
139 "/zone/%s%s", zonename, mntpnt); in loadzone_maps()
144 (void) strcpy(prepended_mntpnt, mntpnt); in loadzone_maps()
177 dirinit(char *mntpnt, char *map, char *opts, int direct, char **stack, in dirinit() argument
184 if (strcmp(mntpnt, "/-") == 0) in dirinit()
189 p = mntpnt + (strlen(mntpnt) - 1); in dirinit()
192 if (*mntpnt != '/') { in dirinit()
193 pr_msg("dir %s must start with '/'", mntpnt); in dirinit()
196 if (p = check_hier(mntpnt)) { in dirinit()
198 p, mntpnt); in dirinit()
[all …]
H A Dmount.c69 char *mntpnt, *mapname; in main() local
110 mntpnt = argv[optind + 1]; in main()
112 if (strcmp(mntpnt, "/-") == 0) { in main()
132 fni.path = mntpnt; in main()
137 fni.key = mntpnt; in main()
154 error = mount(fni.map, mntpnt, mntflags | MS_DATA | MS_OPTIONSTR, in main()
/titanic_44/usr/src/test/zfs-tests/tests/functional/refreserv/
H A Drefreserv_003_pos.ksh63 mntpnt=$(get_prop mountpoint $fs)
64 log_must $MKFILE 7M $mntpnt/$TESTFILE
67 log_must $MKFILE 7M $mntpnt/$TESTFILE.2
70 log_must $MKFILE 7M $mntpnt/$TESTFILE.3
H A Drefreserv_001_pos.ksh65 mntpnt=$(get_prop mountpoint $fs)
66 log_mustnot $MKFILE 15M $mntpnt/$TESTFILE
68 log_must $RM -f $mntpnt/$TESTFILE
72 log_mustnot $MKFILE 15M $mntpnt/$TESTFILE
H A Drefreserv_004_pos.ksh77 typeset mntpnt
78 mntpnt=$(get_prop mountpoint $subfs)
79 log_must $MKFILE $avail $mntpnt/$TESTFILE
84 log_mustnot $MKFILE $avail $mntpnt/$TESTFILE
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/
H A Dzfs_send_007_pos.ksh59 mntpnt=$(get_prop mountpoint "$POOL/fs")
61 $DD if=/dev/urandom of=${mntpnt}/$i bs=8k count=1 2>/dev/null
64 log_must $FIND $mntpnt -delete
67 $DD if=/dev/urandom of=${mntpnt}/$i bs=8k count=1 oseek=1 \
80 $DIFF -r $mntpnt $recv_mntpnt
/titanic_44/usr/src/test/zfs-tests/tests/functional/snapshot/
H A Dsnapshot_015_pos.ksh71 mntpnt=$(get_prop mountpoint $fs)
72 snapdir=$mntpnt/.zfs
87 testfile=$mntpnt/testfile.$cnt
103 testfile=$mntpnt/testfile.$i
/titanic_44/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib131 typeset mntpnt=$(get_prop mountpoint $pool)
134 if [[ -d $mntpnt ]]; then
135 log_must $RM -rf $mntpnt/*
140 if [[ -d $mntpnt ]]; then
141 log_must $RM -rf $mntpnt/*
264 typeset mntpnt=$(get_prop mountpoint $ds)
268 eval random_tree $mntpnt/${snap##$ds}
297 typeset mntpnt=$(get_prop mountpoint $ds)
301 $RM -r $mntpnt/$snap
/titanic_44/usr/src/test/zfs-tests/tests/functional/snapused/
H A Dsnapused_001_pos.ksh65 mntpnt=$(get_prop mountpoint $USEDTEST)
73 log_must $MKFILE 16M $mntpnt/file$i
77 log_must $MKFILE 16M $mntpnt/fs$i/file$i
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_007_pos.ksh60 mntpnt=/var/tmp
61 DEPTH_OUTPUT="$mntpnt/depth_output"
62 EXPECT_OUTPUT="$mntpnt/expect_output"

123