Date: Tue, 3 May 2022 14:06:33 GMT From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 450b4ac23c75 - main - bsdinstall/script: umount before zpool export Message-ID: <202205031406.243E6Xqm078303@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=450b4ac23c75e2dde996c96049c0887864e22d09 commit 450b4ac23c75e2dde996c96049c0887864e22d09 Author: Corvin Köhne <CorvinK@beckhoff.com> AuthorDate: 2022-05-03 14:01:22 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-05-03 14:02:39 +0000 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 --- usr.sbin/bsdinstall/scripts/script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/scripts/script b/usr.sbin/bsdinstall/scripts/script index 92332241f348..24469589d1a5 100755 --- a/usr.sbin/bsdinstall/scripts/script +++ b/usr.sbin/bsdinstall/scripts/script @@ -168,10 +168,10 @@ if [ -f $TMPDIR/bsdinstall-installscript-ab ]; then fi bsdinstall entropy +bsdinstall umount if [ "$ZFSBOOT_DISKS" ]; then zpool export $ZFSBOOT_POOL_NAME fi -bsdinstall umount f_dprintf "Installation Completed at %s" "$( date )"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205031406.243E6Xqm078303>