Skip to content

Commit

Permalink
Add zstreamdump(8) command to examine ZFS send streams.
Browse files Browse the repository at this point in the history
Obtained from: illumos-gate revision 11935:538c866aaac6
Source: ssh://anonhg@hg.illumos.org/illumos-gate

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #905
  • Loading branch information
mmatuska authored and behlendorf committed Sep 2, 2012
1 parent 20a083c commit b79fc3f
Show file tree
Hide file tree
Showing 6 changed files with 508 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SUBDIRS = zfs zpool zdb zinject ztest zpios mount_zfs
SUBDIRS = zfs zpool zdb zinject zstreamdump ztest zpios mount_zfs
SUBDIRS += zpool_layout zvol_id zpool_id vdev_id
18 changes: 18 additions & 0 deletions cmd/zstreamdump/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
include $(top_srcdir)/config/Rules.am

DEFAULT_INCLUDES += \
-I$(top_srcdir)/include \
-I$(top_srcdir)/lib/libspl/include

sbin_PROGRAMS = zstreamdump

zstreamdump_SOURCES = \
$(top_srcdir)/cmd/zstreamdump/zstreamdump.c

zstreamdump_LDADD = \
$(top_builddir)/lib/libnvpair/libnvpair.la \
$(top_builddir)/lib/libuutil/libuutil.la \
$(top_builddir)/lib/libzpool/libzpool.la \
$(top_builddir)/lib/libzfs/libzfs.la

zstreamdump_LDFLAGS = -pthread -lm $(ZLIB) -lrt -ldl $(LIBUUID) $(LIBBLKID)
Loading

0 comments on commit b79fc3f

Please sign in to comment.