Skip to content

Conversation

@intelfx
Copy link
Contributor

@intelfx intelfx commented Dec 21, 2025

Motivation and Context

Description

Add a zfs clone -u flag, bringing it in line with all other subcommands that may create datasets.

How Has This Been Tested?

  • compile-tested
  • run-tested on x86_64 Linux
  • ZTS tests added

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Quality assurance (non-breaking change which makes the code more robust against bugs)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
@intelfx intelfx force-pushed the work/zfs-clone-nomount branch from c75cb57 to 6b01016 Compare December 21, 2025 17:22
@intelfx intelfx changed the title zfs clone: accept -u to not mount newly created datasets cmd/zfs: clone: accept -u to not mount newly created datasets Dec 21, 2025
Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
@intelfx intelfx force-pushed the work/zfs-clone-nomount branch from 6b01016 to ea1b2ac Compare December 21, 2025 17:33
@intelfx intelfx marked this pull request as draft December 21, 2025 17:40
@intelfx intelfx marked this pull request as ready for review December 21, 2025 17:40
@github-actions github-actions bot added Status: Work in Progress Not yet ready for general review Status: Code Review Needed Ready for review and testing and removed Status: Work in Progress Not yet ready for general review labels Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Code Review Needed Ready for review and testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant