mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
Add support to decode a resume token
Adding a new subcommand to zstream called token. This now allows users to decode a resume token to retrieve the toname field. This can be useful for tools that need this information. The syntax works as follows zstream token <resume_token>. Reviewed-by: Matt Ahrens <matt@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Paul Zuchowski <pzuchowski@datto.com> Signed-off-by: Tony Perkins <tperkins@datto.com> Closes #10558
This commit is contained in:
@@ -6,7 +6,8 @@ zstream_SOURCES = \
|
||||
zstream.c \
|
||||
zstream.h \
|
||||
zstream_dump.c \
|
||||
zstream_redup.c
|
||||
zstream_redup.c \
|
||||
zstream_token.c
|
||||
|
||||
zstream_LDADD = \
|
||||
$(abs_top_builddir)/lib/libzfs/libzfs.la \
|
||||
|
||||
Reference in New Issue
Block a user