mirror_zfs/cmd/zpool
grembo 65d9212aee
FreeBSD boot code reminder after zpool upgrade
There used to be a warning after upgrading a zpool in FreeBSD, so users
won't forget to update the boot loader that pool is booted from.

This change brings this warning back, but only if the bootfs property
is set on the pool, which should be sufficient for the vast majority of
FreeBSD installations. People running something custom are most likely
aware of what to do after an upgrade in their specific environment.

Functionality is implemented in an OS specific helper function.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Co-authored-by: Michael Gmelin <grembo@FreeBSD.org>
Signed-off-by: Michael Gmelin <grembo@FreeBSD.org>
Closes #12099
Closes #12104
2021-06-01 15:03:49 -06:00
..
compatibility.d Add compatibility file sets (ZoL 0.6.1, 0.6.4, OpenZFS 2.1) 2021-03-31 09:40:25 -07:00
os FreeBSD boot code reminder after zpool upgrade 2021-06-01 15:03:49 -06:00
zpool.d Turn checkbashisms into a make target 2021-06-01 11:38:54 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
zpool_iter.c zpool: vdev_run_cmd(): don't free undefined pointers 2021-05-08 09:21:59 -07:00
zpool_main.c FreeBSD boot code reminder after zpool upgrade 2021-06-01 15:03:49 -06:00
zpool_util.c zpool: import: use realloc for realloc, remove strtok 2021-05-26 14:50:59 -07:00
zpool_util.h FreeBSD boot code reminder after zpool upgrade 2021-06-01 15:03:49 -06:00
zpool_vdev.c Fix various typos 2021-04-02 18:52:15 -07:00