freebsd-skq/cddl/contrib/opensolaris
Kyle Evans 149d640cfa libzfs: add zfs_mount_at
This will be used in libbe in place of the internal zmount(); libbe only
wants to be able to mount a dataset at an arbitrary mountpoint without
altering dataset/pool properties. The natural way to do this in a portable
way is by creating a zfs_mount_at() interface that's effectively zfs_mount()
+ a mountpoint parameter. zfs_mount() is now a light wrapper around the new
method.

The interface and implementation have already been accepted into ZFS On
Linux, and the next commit to switch libbe() over to this new interface will
solve the last compatibility issue with ZoL.  The next sysutils/openzfs
rebase against ZoL should be able to build libbe/bectl with only minor
adjustments to build glue.

Reviewed by:	Ryan Moeller <ryan freqlabs com>
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D23132
2020-01-19 02:45:02 +00:00
..
cmd MFV r354383: 10592 misc. metaslab and vdev related ZoL bug fixes 2019-11-21 13:35:43 +00:00
common libctf: Don't construct pointers to out of bounds array offsets 2018-03-26 22:02:36 +00:00
head
lib libzfs: add zfs_mount_at 2020-01-19 02:45:02 +00:00
tools/ctf Increase ctfconvert buffer size 2019-02-25 18:52:47 +00:00
OPENSOLARIS.LICENSE