freebsd-skq/cddl
Andriy Gapon 81f187e576 allow ZFS pool to have temporary name for duration of current import
The change adds -t <name> option to zpool create and -t option to zpool
import in its form with an old name and a new name.  This allows to
import (or create) a pool under a name that's different from its real,
permanent name without affecting that name.  This is useful when working
with VM images or images of other physical systems if they happen to
have a ZFS pool with the same name as the host system.

The changes come from ZoL with some small tweaks.
The porting has been done by julian.

The change is being submitted to OpenZFS:
https://github.com/openzfs/openzfs/pull/600

Submitted by:	julian
Reviewed by:	smh
MFC after:	2 weeks
Sponsored by:	Panzura (porting)
Differential Revision: https://reviews.freebsd.org/D14972
2018-04-12 10:37:26 +00:00
..
compat/opensolaris
contrib/opensolaris allow ZFS pool to have temporary name for duration of current import 2018-04-12 10:37:26 +00:00
lib Consistent casing for fallback SIGCHLD (s/Unknown/unknown/) 2018-02-26 00:04:21 +00:00
sbin
tests
usr.bin
usr.sbin Fix display of wrong pid from dtrace_sched(4) 2018-03-08 22:32:18 +00:00
Makefile
Makefile.inc