Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

halt(8)

init(8)

reboot(8)

REBOOT(2)                            BSD                             REBOOT(2)



NAME
     reboot - reboot system or halt processor

SYNOPSIS
     #include <sys/reboot.h>

     reboot(howto)
     int howto;

DESCRIPTION
     reboot reboots the system and is invoked automatically in the event of
     unrecoverable system failures.  howto is a mask of options passed to the
     bootstrap program.  The only mask currently supported is RB_HALT, which
     causes the processor to halt with no reboot taking place. RB_HALT should
     be used with caution.

     The system call interface permits only RB_HALT or RB_AUTOBOOT to be
     passed to the reboot program.  When none of these options (for example,
     RB_AUTOBOOT) is given, the system is rebooted from the file /sauN/aegis
     for system software prior to SR10, and from the file /sauN/domain_os for
     SR10 system software and later.  (N is an integer identifying a directory
     containing stand-alone utilities compatible with specific models of
     workstations.)

     Only the super-user may reboot a machine.

ERRORS
     This call fails if the following is true:

     [EPERM]   The caller is not the super-user.

SEE ALSO
     halt(8), init(8), reboot(8)

DIAGNOSTICS
     If successful, this call never returns.  Otherwise, a -1 is returned and
     an error is returned in the global variable errno.

NOTES
     In order to autoboot, the workstation must be in "normal mode."

     Workstations booting from the the stand-alone utilities directories sau2,
     sau3, and sau5 don't support reboot(2).

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026