mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 18:31:00 +03:00
ccf89b39fe
It can be used to repair a ZFS file system corrupted by ZFS bug #12762. Use it like this: zfs send -c <DS> | \ zstream decompress <OBJECT>,<OFFSET>[,<COMPRESSION_ALGO>] ... | \ zfs recv <DST_DS> Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Allan Jude <allan@klarasystems.com> Signed-off-by: Alan Somers <asomers@gmail.com> Sponsored-by: Axcient Workaround for #12762 Closes #13256
21 lines
388 B
Makefile
21 lines
388 B
Makefile
sbin_PROGRAMS += zstream
|
|
CPPCHECKTARGETS += zstream
|
|
|
|
zstream_SOURCES = \
|
|
%D%/zstream.c \
|
|
%D%/zstream.h \
|
|
%D%/zstream_decompress.c \
|
|
%D%/zstream_dump.c \
|
|
%D%/zstream_redup.c \
|
|
%D%/zstream_token.c
|
|
|
|
zstream_LDADD = \
|
|
libzfs.la \
|
|
libzfs_core.la \
|
|
libzpool.la \
|
|
libnvpair.la
|
|
|
|
PHONY += install-exec-hook
|
|
install-exec-hook:
|
|
cd $(DESTDIR)$(sbindir) && $(LN_S) -f zstream zstreamdump
|