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