brc(1M)
NAME
brc, bcheckrc − system initialization procedures
SYNOPSIS
/sbin/brc
/sbin/bcheckrc
DESCRIPTION
These shell procedures are executed via entries in /sbin/inittab by init whenever the system is booted.
First, the bcheckrc procedure checks the status of the root file system. If the root file system is found to be bad, bcheckrc repairs it.
Then, bcheckrc mounts the /stand, /proc, and /var (if it exists) file systems (/var may exist as a directory in the root file system, or as a separate file system).
The brc script performs administrative tasks related to file sharing.
After these two procedures have executed, init checks for the initdefault value in /sbin/inittab. This tells init in which run level to place the system. If, for example, initdefault is set to 2, the system will be placed in the multiuser state via the rc2 procedure.
Note that bcheckrc should always be executed before brc. Also, these shell procedures may be used for several run-level states.
SEE ALSO
fsck(1M), init(1M), rc2(1M), shutdown(1M), inittab(4), mnttab(4)
SunOS 5.1 — Last change: 5 Jul 1990