-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce recursive '-r' option for zfs-promote(8)
This patch introduces a new recurse parameter to zfs_promote. The new signature is zfs_promote(zfs_handle_t *, boolean_t). When activating boot environments, it is necessary to recursively promote datasets. External tooling like bectl(8) implement this property locally by wrapping zfs_promote. However, it is also useful to have this option '-r' in upstream zfs-promote(8). Here we push this functionality into libzfs where it can be shared by zfs-promote(8). Signed-off-by: R. Christian McDonald <[email protected]> Sponsored by: Rubicon Communications, LLC ("Netgate")
- Loading branch information
1 parent
a1771d2
commit 47972f0
Showing
4 changed files
with
64 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters