freebsd-nq/lib/libbe
Kyle Evans 16ac070581 libbe(3): simplify import, allow replication streams
Previously, we directly used libzfs_core's lzc_receive to import to a
temporary snapshot, then cloned the snapshot and setup the properties. This
failed when attempting to import replication streams with questionable
error.

libzfs's zfs_receive is a much better fit here, so we now use it instead
with the destination dataset and let libzfs take care of the dirty details.
be_import is greatly simplified as a result.

Reported by:	Marie Helene Kvello-Aune <freebsd@mhka.no>
MFC after:	1 week
2019-01-23 02:09:15 +00:00
..
be_access.c libbe(3): Change be_mount to mount/unmount child datasets 2019-01-10 03:27:20 +00:00
be_error.c libbe(3): Fix error handling with respect to be_exists 2018-09-01 02:22:26 +00:00
be_impl.h libbe(3): move altroot augmentation bits around a little bit 2019-01-09 22:31:10 +00:00
be_info.c bectl(3)/libbe(3): Allow BE root to be specified 2018-11-19 02:12:08 +00:00
be.c libbe(3): simplify import, allow replication streams 2019-01-23 02:09:15 +00:00
be.h bectl(3)/libbe(3): Allow BE root to be specified 2018-11-19 02:12:08 +00:00
libbe.3 Cross-reference libbe(3) and bectl(8). 2018-11-21 12:46:28 +00:00
Makefile libbe(3)/bectl(8): Make consistent with beadm 2018-08-24 20:44:58 +00:00