HomeFreeBSD

bsdinstall: zfsboot: Prompt user for zpool name if the pool already exists

Description

bsdinstall: zfsboot: Prompt user for zpool name if the pool already exists

If one install FreeBSD on multiple disks (say 13 and CURRENT) the first created
pool will always be used.
Prompt the user for a new pool name if we detect that the default or supplied one
already exists.

Reviewed by: imp
MFC after: 2 weeks
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D33331

(cherry picked from commit 9935b0e8ea41804b32576987531be4d31ba705f1)

Details

Provenance
manuAuthored on Dec 8 2021, 10:37 AM
Reviewer
imp
Differential Revision
D33331: bsdinstall: zfsboot: Prompt user for zpool name if the pool already exists
Parents
rG477fbe6732fe: bsdinstall: bootconfig: Try to clean old efi boot entries
Branches
Unknown
Tags
Unknown