reboot executes the reboot.2 system call to restart the kernel. The kernel is loaded into memory by the PROM monitor, which transfers control to it. See boot.8s for details.
Although reboot can be run by the super-user at any time, shutdown.8 is normally used first to warn all users logged in of the impending loss of service. See shutdown.8 for details.
reboot performs a sync.1 operation on the disks, and then a multiuser reboot is initiated. See init.8 for details.
reboot normally logs the reboot to the system log daemon, syslogd.8 and places a shutdown record in the login accounting file /var/adm/wtmp. These actions are inhibited if the -n or -q options are present.
If a boot argument string is given, it is passed to the boot command in the PROM monitor. The string must be quoted if it contains spaces or other characters that could be interpreted by the shell. If the first character of the boot argument string is a minus sign `-' the string must be preceded by an option terminator string `--' For example:
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97