reboot \- reboot system or halt processor
.B #include <sys/reboot.h>
is used to cause a system reboot, and is invoked automatically
in the event of unrecoverable system failures.
is a mask of options passed to the bootstrap program;
some of the information in
is interpreted by this program, and the information is further
passed to the initialization process
When none of these options (e.g. RB_AUTOBOOT) is given, the system is rebooted
from file \*(lqvmunix\*(rq in the root file system of unit 0
of the drive with the same disk controller as the current root file system.
An automatic consistency check of the disks is then normally performed.
the processor is simply halted; no reboot takes place.
This should be used with caution.
Interpreted by the bootstrap program itself, causing it to
inquire as to what file should be booted. Normally, the system is
booted from the file \*(lqxx(0,0)vmunix\*(rq without asking, where
is determined by a code in register
at entry to the bootstrap program. The code corresponds to the
major device number of the root file system, i.e. \*(lqmajor(rootdev)\*(rq.
Currently, the following values of
0 hp rm03/rm05/rp06 massbus disk
2 up emulex sc21 unibus controller; ampex 9300 disks
contained a 2, the system
Normally, the reboot procedure involves an automatic disk consistency
check and then multi-user operations. This prevents the consistency
check, rather simply booting the system with a single-user shell on
the console, from the file system specified by
crash(8), halt(8), init(8), reboot(8)