diff options
author | mav <mav@FreeBSD.org> | 2017-07-26 16:20:19 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2017-07-26 16:20:19 +0000 |
commit | 08fdd58c94a3dbe54583cb1aeacac2bb5dafaacc (patch) | |
tree | 68977a2ca47fa57a20e7209830ebc820dfce9c74 /cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c | |
parent | 837122e8a136027cc345807d64288b2bb76a3cac (diff) | |
download | FreeBSD-src-08fdd58c94a3dbe54583cb1aeacac2bb5dafaacc.zip FreeBSD-src-08fdd58c94a3dbe54583cb1aeacac2bb5dafaacc.tar.gz |
MFC r317267: MFV 316891
7386 zfs get does not work properly with bookmarks
illumos/illumos-gate@edb901aab9c738b5eb15aa55933e82b0f2f9d9a2
https://github.com/illumos/illumos-gate/commit/edb901aab9c738b5eb15aa55933e82b0f2f9d9a2
https://www.illumos.org/issues/7386
The zfs get command does not work with the bookmark parameter while it works
properly with both filesystem and snapshot:
# zfs get -t all -r creation rpool/test
NAME PROPERTY VALUE SOURCE
rpool/test creation Fri Sep 16 15:00 2016 -
rpool/test@snap creation Fri Sep 16 15:00 2016 -
rpool/test#bkmark creation Fri Sep 16 15:00 2016 -
# zfs get -t all -r creation rpool/test@snap
NAME PROPERTY VALUE SOURCE
rpool/test@snap creation Fri Sep 16 15:00 2016 -
# zfs get -t all -r creation rpool/test#bkmark
cannot open 'rpool/test#bkmark': invalid dataset name
#
The zfs get command should be modified to work properly with bookmarks too.
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Approved by: Matthew Ahrens <mahrens@delphix.com>
Author: Marcel Telka <marcel@telka.sk>
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c')
0 files changed, 0 insertions, 0 deletions