]> git.proxmox.com Git - mirror_zfs.git/commit - lib/libzfs/libzfs_dataset.c
OpenZFS 3993, 4700
authorAdam Stevko <adam.stevko@gmail.com>
Mon, 9 May 2016 21:03:18 +0000 (14:03 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 11 May 2016 18:49:37 +0000 (11:49 -0700)
commit2a8b84b747cb27a175aa3a45b8cdb293cde31886
tree36698cee9684d649e0073c9d31efcdc6aef24e7d
parentf00828e5d94d4ee386d362aee4e1b37900b1322c
OpenZFS 3993, 4700

3993 zpool(1M) and zfs(1M) should support -p for "list" and "get"
4700 "zpool get" doesn't support -H or -o options

Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Ported by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
OpenZFS-issue: https://www.illumos.org/issues/3993
OpenZFS-issue: https://www.illumos.org/issues/4700
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/c58b352

Porting notes:
I removed ZoL's zpool_get_prop_literal() in favor of
zpool_get_prop(..., boolean_t literal) since that's what OpenZFS
uses.  The functionality is the same.
cmd/zpool/zpool_main.c
include/libzfs.h
lib/libzfs/libzfs_dataset.c
lib/libzfs/libzfs_pool.c
man/man8/zpool.8