]> git.proxmox.com Git - mirror_zfs.git/commit
zdb: Introduce -V for verbatim import
authorRichard Yao <ryao@gentoo.org>
Sun, 8 Jun 2014 18:10:14 +0000 (14:10 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 17 Jul 2014 18:40:32 +0000 (11:40 -0700)
commita5778ea2427bd340e3b4f697d9b6e1452bd71909
treec5270bdee99a5a45b8acad9407cc8cdfb96076a0
parent2fbc542ebdee773ab45fd0d35029d6978aa5900b
zdb: Introduce -V for verbatim import

When given a pool name via -e, zdb would attempt an import. If it
failed, then it would attempt a verbatim import. This behavior is
not always desirable so a -V switch is added to zdb to control the
behavior. When specified, a verbatim import is done. Otherwise,
the behavior is as it was previously, except no verbatim import
is done on failure.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2372
cmd/zdb/zdb.c
man/man8/zdb.8