brc, bcheckrc - system initialization procedures
These shell procedures are executed via entries in /etc/inittab by
init(1M) whenever the system is booted (or rebooted).
First, the bcheckrc procedure checks the status of the root filesystem.
If the root filesystem is found to be bad, bcheckrc repairs it.
Then, the brc procedure clears the mounted filesystem table, /etc/mtab,
and puts the entry for the root filesystem into the mount table.
After these two procedures have executed, init checks for the initdefault
value in /etc/inittab. This tells init in which run level to place the
system. Since initdefault is initially set to 2, the system is placed in
the multiuser state via the /etc/rc2 procedure.
Note that bcheckrc should always be executed before brc. Also, these
shell procedures can be used for several run-level states.
fsck(1M), init(1M), rc2(1M), shutdown(1M).
PPPPaaaaggggeeee 1111 [ Back ]