Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/reboot.2
Show All 22 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)reboot.2 8.1 (Berkeley) 6/4/93 | .\" @(#)reboot.2 8.1 (Berkeley) 6/4/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd September 18, 2015 | .Dd October 24, 2017 | ||||
.Dt REBOOT 2 | .Dt REBOOT 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm reboot | .Nm reboot | ||||
.Nd reboot system or halt processor | .Nd reboot system or halt processor | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
Show All 39 Lines | |||||
on all systems.) | on all systems.) | ||||
.It Dv RB_DUMP | .It Dv RB_DUMP | ||||
Dump kernel memory before rebooting; see | Dump kernel memory before rebooting; see | ||||
.Xr savecore 8 | .Xr savecore 8 | ||||
for more information. | for more information. | ||||
.It Dv RB_HALT | .It Dv RB_HALT | ||||
The processor is simply halted; no reboot takes place. | The processor is simply halted; no reboot takes place. | ||||
This option should be used with caution. | This option should be used with caution. | ||||
.It Dv RB_POWERCYCLE | |||||
After halting, the shutdown code will do what it can to turn | |||||
off the power and then turn the power back on. | |||||
This requires hardware support, usually an auxiliary microprocessor | |||||
that can sequence the power supply. | |||||
kib: I think that being more specific there and saying that the power-reset cycle only supported for… | |||||
Done Inline ActionsI'll find some way to say this. We didn't say that POWEROFF was only supported on apm machines when that flag went into the tree, so I get that we need to provide some guidance about what can do this, but don't want to get too specific... thanks! imp: I'll find some way to say this. We didn't say that POWEROFF was only supported on apm machines… | |||||
At present only the | |||||
.Xr ipmi 4 | |||||
driver implements this feature. | |||||
.It Dv RB_POWEROFF | .It Dv RB_POWEROFF | ||||
After halting, the shutdown code will do what it can to turn | After halting, the shutdown code will do what it can to turn | ||||
off the power. | off the power. | ||||
This requires hardware support. | This requires hardware support. | ||||
.It Dv RB_INITNAME | .It Dv RB_INITNAME | ||||
An option allowing the specification of an init program (see | An option allowing the specification of an init program (see | ||||
.Xr init 8 ) | .Xr init 8 ) | ||||
other than | other than | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |
I think that being more specific there and saying that the power-reset cycle only supported for IPMI with chassis device capabilities would be useful.