Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ reboot(8) — 4.2BSD 3.04v10.B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(8)

init(8)

rc(8)

shutdown(8)

halt(8)

newfs(8)

REBOOT(8)  —  Unix Programmer’s Manual

NAME

reboot − UNIX bootstrapping procedures

SYNOPSIS

/etc/reboot [ options ]

DESCRIPTION

UNIX is started by placing it in memory at location zero and transferring to zero.  Since the system is not re-enterable, it must be read in from disk or tape each time it is to be bootstrapped. 

Rebooting a Running System

When UNIX is running and a reboot is desired, shutdown(8) is normally used.  If there are no users, then /etc/reboot can be used.  Reboot causes the disks to be synchronized, and then a multi-user reboot (as described below) is initiated.  A system is booted and an automatic disk check is performed.  If all this succeeds without incident, the system is then brought up for many users. 

OPTIONS

Options to reboot are as follows:

−n Avoids the sync.  Can be used if a disk or the processor is on fire. 

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

Power Fail and Crash Recovery

Normally the system will reboot itself at power-up or after crashes.  An automatic consistency check of the filesystems will be performed then.  The system will resume multi-user operations, unless this check fails. 

On the IS68K, the code in the boot proms finds the specified file on the given device, loads that file into memory location zero, and starts the program at the entry address specified in the program header (after clearing off the high bit of the specified entry address.)  Normal line-editing characters can be used in specifying the pathname.  The boot proms will boot automatically after a minute or two if nothing is typed on the system console. 

EXAMPLE

If a user has an hp disk and wishes to boot off a filesystem which starts at cylinder 0 of unit 0, she or he can type hp(0,0)vmunix to the boot prompt; hk(0,0)vmunix would specify an RK07 disk drive; el(0,0)vmunix would specify a disk drive connected to an INTEGRATED SOLUTIONS extended rl disk controller. 

A device specification has the following form:

device(unit, minor)

in which device is the type of the device to be searched, unit is the unit number of the device, and minor is the minor device index. 

The following list of supported devices may vary from installation to installation:

hphp disk drive
hkRK07 disk drive
rastorage module on a UDA50
elextended RL02
tmTM11 emulation tape drives on QBUS
tsTS11 on QBUS

For tapes, the minor device number gives a file offset. 

FILES

/vmunixsystem code

SEE ALSO

fsck(8), init(8), rc(8), shutdown(8), halt(8), newfs(8)

4th Berkeley Distribution  —  1 August 1985

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