Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rc(1M) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

init(1M)

fsck(1M)

killall(1M)

reboot(1M)

shutdown(1M)

inittab(4)

mnttab(4)

BRC(1M)  —  Silicon Graphics

NAME

brc, bcheckrc, rc, powerfail − system initialization shell scripts

SYNOPSIS

/etc/brc

/etc/bcheckrc

/etc/rc

/etc/powerfail

DESCRIPTION

Except for powerfail, these shell procedures are executed via entries in /etc/inittab (see inittab(4)) by init(1M) when the system is changed out of SINGLE USER mode.  Powerfail is executed whenever a system power failure is detected. 

The brc procedure clears the mounted file system table /etc/mnttab (see mnttab(4)) and builds the file system consistency check-list /etc/checklist (see checklist(4)).

The bcheckrc procedure performs all the necessary consistency checks to prepare the system to change into multi-user mode.  It sets the system date, either by using the result of rc.getdate (see rc.fs(1M)) or prompting for it. Bcheckrc also checks the file systems with fsck(1M).

The rc procedure starts all system daemons before the terminal lines are enabled for multi-user mode.  In addition, file systems are mounted and accounting, error logging, and system activity logging are activated in this procedure. 

The powerfail procedure is invoked when the system detects a power failure condition.  It shuts the system down using reboot(1M).

These shell procedures, in particular rc, may be used for several run-level states.

SEE ALSO

init(1M), fsck(1M), killall(1M), reboot(1M), shutdown(1M), inittab(4), mnttab(4). 

Version 2.4  —  May 08, 1986

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