brc(1M) brc(1M)
NAME
brc, bcheckrc - system initialization procedures
SYNOPSIS
/etc/brc
/sbin/bcheckrc
DESCRIPTION
These shell procedures are executed via entries in /etc/inittab by
init whenever the system is booted.
The brc script performs operations necessary to initialize the I/O
subsystem and the virtual disks. A verbose mode also prints out the
current hardware system configuration.
First, the bcheckrc procedure checks the status of the root file sys-
tem. If the root file system is found to be bad, bcheckrc repairs it.
Then, bckeckrc 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).
When these two procedures have been executed, init checks for the
initdefault value in /etc/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).
Page 1 Reliant UNIX 5.44 Printed 11/98