HomeFreeBSD

OpenZFS 8605 - zfs channel programs fix zfs.exists

Description

OpenZFS 8605 - zfs channel programs fix zfs.exists

Authored by: Chris Williamson <chris.williamson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matt Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Ported-by: Don Brady <don.brady@delphix.com>

zfs.exists() in channel programs doesn't return any result, and should
have a man page entry. This patch corrects zfs.exists so that it
returns a value indicating if the dataset exists or not. It also adds
documentation about it in the man page.

OpenZFS-issue: https://www.illumos.org/issues/8605
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/1e85e111

Details

Provenance
Chris Williamson <chris.williamson@delphix.com>Authored on Feb 8 2018, 4:17 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 8 2018, 11:28 PM
Parents
rGd99a01534342: OpenZFS 7431 - ZFS Channel Programs
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG475eca490873: OpenZFS 8605 - zfs channel programs fix zfs.exists (authored by Chris Williamson <chris.williamson@delphix.com>).Feb 8 2018, 11:28 PM