12256 reboot(1m) looks for 32-bit kernel only
Review Request #2502 — Created Jan. 29, 2020 and submitted — Latest diff uploaded
Information | |
---|---|
marcel | |
illumos-gate | |
master | |
12256 | |
531b3c1... | |
Reviewers | |
general | |
This change makes sure that in a case we try to do fast reboot using reboot(1m) and we do not specify the target BE (using -e), but we do specify ZFS filesystem (or plain disk) in boot_arguments, the operation is successful.
Without the fix: # beadm create new Created successfully # reboot -f -- rpool/ROOT/new reboot: rpool/ROOT/new is not a root disk or dataset # beadm destroy -fF new # With the fix: # beadm create new Created successfully # reboot -f -- rpool/ROOT/new Connection to localhost closed by remote host. Connection to localhost closed. $