12256 reboot(1m) looks for 32-bit kernel only

Review Request #2502 - Created Jan. 29, 2020 and submitted

Information
Marcel Telka
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.
$
Toomas Soome
C Fraire
Marcel Telka
Review request changed

Status: Closed (submitted)

Change Summary:

commit 4e995f2a014b6efa1fa6b0cf17c7f63ed51acf69
Author:     Marcel Telka <marcel@telka.sk>
AuthorDate: Wed Jan 29 06:55:18 2020 +0100
Commit:     Dan McDonald <danmcd@joyent.com>
CommitDate: Fri Jan 31 10:46:07 2020 -0500

    12256 reboot(1m) looks for 32-bit kernel only
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Alexander Pyhalov <alp@sfedu.ru>
    Reviewed by: C Fraire <seeemef@mac.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

:100644 100644 edd862ff39 893539611b M	usr/src/cmd/halt/halt.c
Loading...