.clone_paths = &aufs_clonepaths,
.destroy = &aufs_destroy,
.create = &aufs_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = true,
.can_backup = true,
};
.clone_paths = &btrfs_clonepaths,
.destroy = &btrfs_destroy,
.create = &btrfs_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = true,
.can_backup = true,
};
.clone_paths = &dir_clonepaths,
.destroy = &dir_destroy,
.create = &dir_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = false,
.can_backup = true,
};
.clone_paths = &loop_clonepaths,
.destroy = &loop_destroy,
.create = &loop_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = false,
.can_backup = true,
};
.clone_paths = &lvm_clonepaths,
.destroy = &lvm_destroy,
.create = &lvm_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = true,
.can_backup = false,
};
.clone_paths = &nbd_clonepaths,
.destroy = &nbd_destroy,
.create = &nbd_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = true,
.can_backup = false,
};
.clone_paths = &ovl_clonepaths,
.destroy = &ovl_destroy,
.create = &ovl_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = true,
.can_backup = true,
};
.clone_paths = &rbd_clonepaths,
.destroy = &rbd_destroy,
.create = &rbd_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = false,
.can_backup = false,
};
.clone_paths = &zfs_clonepaths,
.destroy = &zfs_destroy,
.create = &zfs_create,
- .create_clone = NULL,
- .create_snapshot = NULL,
.can_snapshot = true,
.can_backup = true,
};
const char *oldname, const char *cname,
const char *oldpath, const char *lxcpath, int snap,
uint64_t newsize, struct lxc_conf *conf);
- bool (*create_clone)(struct lxc_conf *conf, struct bdev *orig,
- struct bdev *new, uint64_t newsize);
- bool (*create_snapshot)(struct lxc_conf *conf, struct bdev *orig,
- struct bdev *new);
bool can_snapshot;
bool can_backup;
};