HomeFreeBSD

bsdinstall/script: umount before zpool export

Description

bsdinstall/script: umount before zpool export

When running zpool export first, boot/efi and dev is still mounted so
zpool export fails. By running bsdinstall umount first the pool can be
cleanly exported.

Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D35114
Sponsored by: Beckhoff Automation GmbH & Co. KG
MFC After: 3 days

(cherry picked from commit 450b4ac23c75e2dde996c96049c0887864e22d09)

Details

Provenance
corvinkAuthored on May 3 2022, 2:01 PM
manuCommitted on May 16 2022, 3:24 PM
Reviewer
emaste
Differential Revision
D35114: bsdinstall/script: umount before zpool export
Parents
rG45eb93a964e6: bsdinstall: stop messing with file descriptors
Branches
Unknown
Tags
Unknown