Lines Matching defs:new_zonepath
3972 char *new_zonepath = NULL;
4008 new_zonepath = argv[optind];
4020 if (validate_zonepath(new_zonepath, CMD_MOVE) != Z_OK)
4035 if (stat(new_zonepath, &new_zonepath_buf) == -1) {
4043 if ((dirp = opendir(new_zonepath)) == NULL) {
4059 "directory not empty\n"), new_zonepath);
4117 move_zfs(zonepath, new_zonepath) != Z_ERR) {
4124 * Remove the new_zonepath directory that got created above
4127 if (rmdir(new_zonepath) != 0) {
4134 if (rename(zonepath, new_zonepath) != 0) {
4151 create_zfs_zonepath(new_zonepath);
4158 err = copy_zone(zonepath, new_zonepath);
4169 if (zone_mount_rootfs(&mounts, new_zonepath) != 0) {
4175 if ((err = zonecfg_set_zonepath(handle, new_zonepath)) != Z_OK) {
4207 new_zonepath, B_TRUE) != 0) {
4213 new_zonepath);
4219 if (move_zfs(new_zonepath, zonepath) == Z_ERR) {
4222 "set as:\n%s\n"), new_zonepath);
4230 if (rename(new_zonepath, zonepath) != 0) {
4241 new_zonepath);
4243 err = cleanup_zonepath(new_zonepath, B_TRUE);