]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
6866 zdb -l should return non-zero if it fails to find any label
authorAndriy Gapon <avg@FreeBSD.org>
Fri, 14 Apr 2017 16:57:06 +0000 (16:57 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Fri, 14 Apr 2017 16:57:06 +0000 (16:57 +0000)
commitb91038ef7aac4c90c9dde9984dafd977a8c665a4
treebbfa5f4efdce434b704d6838a2af8c11601a5a00
parent60d1053c22f0b8b7be2e27d8f6e4632b52342881
6866 zdb -l should return non-zero if it fails to find any label

illumos/illumos-gate@64723e361134b2a2c45341334174f9d34002f8d0
https://github.com/illumos/illumos-gate/commit/64723e361134b2a2c45341334174f9d34002f8d0

https://www.illumos.org/issues/6866
  Need this for #6865.
  To be generally more scripting-friendly, overload this issue with adding '-q'
  option which should skip printing any label information.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Yuri Pankov <yuri.pankov@nexenta.com>
cmd/zdb/zdb.c
man/man1m/zdb.1m