DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
(BSD System Compatibility)

reboot(1Mbsd)


reboot -- (BSD) restart the operating system

Synopsis

   /usr/ucb/reboot [-dlnq] [boot arguments]

Description

reboot restarts the kernel. The kernel is loaded into memory by the PROM monitor, which transfers control to it.

Although reboot can be run by the privileged user at any time, shutdown(1M) is normally used first to warn all users logged in of the impending loss of service. See shutdown(1M) for details.

reboot performs a sync(1M) operation on the disks, and then a multiuser reboot is initiated. See init(1M) for details.

Executing reboot -l logs the reboot to the system log daemon, syslogd(1M), 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.

Command options


-d
Dump system core before rebooting. This option is provided for compatibility, but is not supported by the underlying reboot(3bsd) call.

-l
Logs a message to the system log indicating who rebooted the system.

-n
Avoid the sync(1M). It can be used if a disk or the processor is on fire.

-q
Quick. Reboots quickly and ungracefully, without first shutting down running processes.

boot arguments
These arguments are accepted for compatibility, but are ignored by reboot. See boot(1M) for details.

Power fail and crash recovery

Normally, the system will reboot itself at power-up or after crashes.

Files


/var/adm/wtmp
login accounting file

References

boot(1M), crash(1M), fsck(1M), halt(1Mbsd), init(1M), reboot(3bsd) shutdown(1M), sync(1M), syslogd(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004