FreeBSD Bugzilla – Attachment 147531 Details for
Bug 188328
[zfs] UPDATING should provide caveats for running `zpool upgrade`
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Untested patch that adds the missing bootcode upgrade warning
show-gpart-bootcode-message-when-upgrading-pool.patch (text/plain), 631 bytes, created by
Jan Kokemüller
on 2014-09-21 18:27:39 UTC
(
hide
)
Description:
Untested patch that adds the missing bootcode upgrade warning
Filename:
MIME Type:
Creator:
Jan Kokemüller
Created:
2014-09-21 18:27:39 UTC
Size:
631 bytes
patch
obsolete
>diff --git a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c >index fe73169..950faa0 100644 >--- a/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c >+++ b/cddl/contrib/opensolaris/cmd/zpool/zpool_main.c >@@ -4647,6 +4647,10 @@ upgrade_cb(zpool_handle_t *zhp, void *arg) > if (count > 0) { > cbp->cb_first = B_FALSE; > printnl = B_TRUE; >+#ifdef __FreeBSD__ >+ root_pool_upgrade_check(zhp, cbp->cb_poolname, >+ sizeof(cbp->cb_poolname)); >+#endif /* ___FreeBSD__ */ > /* > * If they did "zpool upgrade -a", then we could > * be doing ioctls to different pools. We need
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 188328
: 147531