Home
last modified time | relevance | path

Searched refs:rename (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/
H A Dprojectquota_009_pos.ksh51 for ds in $TESTPOOL/fs $TESTPOOL/fs-rename $TESTPOOL/fs-clone; do
112 log_must zfs rename $TESTPOOL/fs-rev $TESTPOOL/fs-rename
117 log_must check_quota "projectquota@$PRJID1" $TESTPOOL/fs-rename "$PQUOTA_LIMIT"
118 log_must check_quota "projectobjquota@$PRJID2" $TESTPOOL/fs-rename \
122 log_must zfs upgrade $TESTPOOL/fs-rename
127 log_must check_quota "projectquota@$PRJID1" $TESTPOOL/fs-rename "$PQUOTA_LIMIT"
128 log_must check_quota "projectobjquota@$PRJID2" $TESTPOOL/fs-rename \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/
H A Duserquota_011_pos.ksh51 for ds in $TESTPOOL/fs $TESTPOOL/fs-rename $TESTPOOL/fs-clone; do
109 log_must zfs rename $TESTPOOL/fs-rev $TESTPOOL/fs-rename
114 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs-rename "$UQUOTA_SIZE"
115 log_must check_quota "groupquota@$QGROUP" $TESTPOOL/fs-rename "$GQUOTA_SIZE"
118 log_must zfs upgrade $TESTPOOL/fs-rename
123 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs-rename "$UQUOTA_SIZE"
124 log_must check_quota "groupquota@$QGROUP" $TESTPOOL/fs-rename "$GQUOTA_SIZE"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_014_neg.ksh93 log_mustnot zfs rename $TESTPOOL/$dsA02 $TESTPOOL/$dsB15A
98 log_mustnot zfs rename $TESTPOOL/$dsA02 $TESTPOOL/$dsB16A
99 log_must zfs rename $TESTPOOL/$dsA02 $TESTPOOL/$dsB15A
104 log_mustnot zfs rename $TESTPOOL/$dsC01 $TESTPOOL/$dsB15A47C
105 log_must zfs rename $TESTPOOL/$dsB15A47A $TESTPOOL/$dsB15A47B
106 log_must zfs rename $TESTPOOL/$dsB15A47B $TESTPOOL/$dsB15A40B
H A Dzfs_rename_007_pos.ksh96 log_must zfs rename $fs ${fs}-new
97 log_must zfs rename $fsclone ${fsclone}-new
108 log_must zfs rename ${fs}-new $fs
109 log_must zfs rename $snap ${snap}-new
129 log_must zfs rename $vol ${vol}-new
130 log_must zfs rename $volclone ${volclone}-new
141 log_must zfs rename ${vol}-new $vol
142 log_must zfs rename $snap ${snap}-new
H A Dzfs_rename_012_neg.ksh60 log_mustnot zfs rename $opt $ds ${ds}-new
62 log_mustnot zfs rename $ds
63 log_mustnot zfs rename $ds ${ds}-new ${ds}-new1
64 log_mustnot zfs rename $ds ${ds}.$longname
H A Dzfs_rename_encrypted_child.ksh61 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
64 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
67 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild \
72 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild2 \
H A Dzfs_rename_004_neg.ksh94 log_mustnot zfs rename ${bad_dataset[i]} ${bad_dataset[((i + 1))]}
97 log_mustnot zfs rename -p ${bad_dataset[i]} ${bad_dataset[((i + 1))]}
105 log_mustnot zfs rename -p $TESTPOOL/$TESTFS@snapshot \
108 log_mustnot zfs rename -p $TESTPOOL/$TESTFS@snapshot \
H A Dzfs_rename.cfg31 export DATAFS=datafs.rename
32 export DATA=$TESTDIR2/data.rename
38 export VOLDATA=$TESTDIR2/voldata.rename
H A Dzfs_rename_003_pos.ksh61 log_must zfs rename $snap ${newname[$i]}
63 log_must zfs rename ${snap%%@*}@${newname[$i]##*@} $snap
H A Dzfs_rename_009_neg.ksh72 log_assert "zfs rename -r failed, when snapshot name is already existing."
101 log_pass "zfs rename -r failed, when snapshot name is already existing passed."
/illumos-gate/usr/src/test/zfs-tests/cmd/rename_dir/
H A Drename_dir.c64 if (rename("a/b/c", "1/2/3/c") == 0) in main()
66 if (rename("1/2/3/c", "a/b/c") == 0) in main()
76 if (rename("1", "a/b/c/d/e/1") == 0) in main()
78 if (rename("a/b/c/d/e/1", "1") == 0) in main()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_snapshot/
H A Dzfs_snapshot_005_neg.ksh91 log_mustnot zfs rename $basefs ${basefs}a
92 log_mustnot zfs rename $basefs ${basefs}-new
93 log_mustnot zfs rename $initfs ${initfs}-new
94 log_mustnot zfs rename $TESTPOOL/$TESTFS $TESTPOOL/$TESTFS-new
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c645 if (rename(passwd_file, tmppasswdfile) < 0) { in changepasswd()
650 if (rename(newpasswdfile, passwd_file) < 0) { in changepasswd()
653 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
664 if (rename(shadow_file, tmpshadowfile) < 0) { in changepasswd()
667 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
674 if (rename(newshadowfile, shadow_file) < 0) { in changepasswd()
677 if (rename(tmpshadowfile, shadow_file) < 0) { in changepasswd()
682 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
691 if (rename(adjunct_file, tmpadjunctfile) < 0) { in changepasswd()
694 if (rename(tmppasswdfile, passwd_file) < 0) { in changepasswd()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/cmd/scripts/
H A DMakefile49 $(INS.rename)
52 $(INS.rename)
55 $(INS.rename)
/illumos-gate/usr/src/test/crypto-tests/cmd/kcf/
H A DMakefile47 $(INS.rename)
49 $(INS.rename)
51 $(INS.rename)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/no_space/
H A Denospc_002_pos.ksh54 log_must zfs rename $TESTPOOL/$TESTFS@snap $TESTPOOL/$TESTFS@snap_newname
55 log_must zfs rename $TESTPOOL/$TESTFS@snap_newname $TESTPOOL/$TESTFS@snap
56 log_must zfs rename $TESTPOOL/$TESTFS $TESTPOOL/${TESTFS}_newname
57 log_must zfs rename $TESTPOOL/${TESTFS}_newname $TESTPOOL/$TESTFS
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmlog.c103 if (!stat(ologf, &buf) && rename(ologf, tlogf)) { in roll_log()
105 } else if (!stat(logf, &buf) && rename(logf, ologf)) { in roll_log()
108 if (!stat(tlogf, &buf) && rename(tlogf, ologf)) in roll_log()
119 if (!stat(ologf, &buf) && rename(ologf, logf)) in roll_log()
122 else if (!stat(tlogf, &buf) && rename(tlogf, ologf)) in roll_log()
/illumos-gate/usr/src/cmd/initpkg/init.d/
H A DMakefile77 $(INS.rename)
80 $(INS.rename)
83 $(INS.rename)
/illumos-gate/usr/src/test/crypto-tests/tests/
H A DMakefile.crypto105 $(INS.rename)
108 $(INS.rename)
111 $(INS.rename)
114 $(INS.rename)
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_002_pos.ksh51 datasetexists $new_vol && log_must zfs rename $new_vol $vol
112 log_must zfs rename $fsclone $new_fsclone
113 log_must zfs rename $volclone $new_volclone
/illumos-gate/usr/src/lib/libc/port/sys/
H A Drename.c39 #pragma weak _rename = rename
41 rename(const char *oldname, const char *newname) in rename() function
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rootpool/
H A Drootpool_003_neg.ksh55 log_mustnot zfs rename $rootfs $rootpool/newfs
56 log_mustnot zfs rename -f $rootfs $rootpool/newfs
/illumos-gate/usr/src/lib/brand/solaris10/s10_replacefile/
H A Ds10_replacefile.c99 if (rename(argv[1], argv[2]) != 0) in main()
101 if (rename(argv[3], argv[1]) != 0) in main()
/illumos-gate/usr/src/cmd/ypcmd/shared/
H A Dutils.c104 if (rename(fromfile, tofile)) {
116 if (rename(fromfile, tofile)) {
124 if (rename(tofile, fromfile)) {
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Drename.c28 NoN(rename)
65 rename(const char* from, const char* to)

12345678910>>...14