diff options
author | Jose Luis Duran <jlduran@users.noreply.github.com> | 2022-03-08 05:51:28 +0300 |
---|---|---|
committer | Emmanuel Vadot <manu@bidouilliste.com> | 2022-06-02 19:34:14 +0300 |
commit | 73b3a5169b640460c9bb8cbd295764e9e74838ab (patch) | |
tree | e56df9e974920985b41958f3b9757586bb10cb71 /src/share/poudriere/testport.sh | |
parent | fcb3f2d8c816761a69189a1a2c6d15956956e2dd (diff) |
image_zfs: Allow same-as-host pool names
Use `zpool create -t` to set the in-core pool name to a temporary,
random pool name, while the on-disk name will be the name specified as
the pool name in `ZFS_POOL_NAME`, by default `zroot` to match what is
currently used on release images.
Keep the check for a possible name collision on the randomly-created
pool name, to err on the side of caution.
Inspired by: https://reviews.freebsd.org/D34426
Diffstat (limited to 'src/share/poudriere/testport.sh')
0 files changed, 0 insertions, 0 deletions