source: trunk/minix/man/man8/reboot.8@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.1 KB
Line 
1.TH REBOOT 8
2.SH NAME
3reboot \- reboot the system immediately
4.SH SYNOPSIS
5\fBreboot\fP [\fB\-f\fP]
6.SH DESCRIPTION
7.B Reboot
8can be used to reboot the system after installing a new kernel. It does
9not inform the users, but does log it's actions in
10.B /usr/adm/wtmp
11and
12.BR /usr/adm/log .
13The system is then rebooted with the
14.BR reboot (2)
15systemcall.
16.PP
17If the
18.B \-f
19flag is not given then all processes are sent terminate
20signals to give them a chance to die peacefully before the
21.B reboot()
22call.
23.PP
24If the wtmp file exists,
25.B reboot
26logs itself as if it were a shutdown. This is done to prevent
27.BR last (1)
28from talking about system-crashes.
29.B Reboot
30is registered as is in the log file.
31.PP
32.B Reboot
33can only be executed by the super-user. Any other caller will be
34refused, either by
35.BR reboot (8)
36or by
37.BR reboot (2).
38.SH "SEE ALSO"
39.BR reboot (2),
40.BR shutdown (8),
41.BR halt(8),
42.BR boot (8).
43.SH BUGS
44The error message's given by
45.B reboot
46are not always useful. There are several routines that can fail, but which
47are not fatal for the program.
48.SH AUTHOR
49Edvard Tuinder (v892231@si.hhs.NL)
Note: See TracBrowser for help on using the repository browser.