Bug 225964 - Please provide 'reboot -f' Linux equivalent
Summary: Please provide 'reboot -f' Linux equivalent
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.1-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-16 23:10 UTC by Slawomir Wojciech Wojtczak
Modified: 2018-02-25 20:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2018-02-16 23:10:38 UTC
Hi,

on Linux I can use 'reboot -f' command that is very close to just send the ACPI to reset the system, just like You would press 'reset' button on the computer case.

I have tried to find similar command on FreeBSD but I failed, the only 'alternative' is to 'reboot -q -n -l' but that still leave system hanged not rebooted.

Thread here:
https://forums.freebsd.org/threads/how-to-instantly-reboot-freebsd-system.64685/

Is there a change to implement such flag/command on FreeBSD?

Regards.
Comment 1 Slawomir Wojciech Wojtczak 2018-02-25 07:58:50 UTC
As it turns out this can be achieved with this:

# sysctl debug.kdb.panic=1

You may close as resolved.

Thanks.