brc(8) CLIX brc(8)
NAME
brc, bcheckrc - System initialization procedures
SYNOPSIS
/etc/brc
/etc/bcheckrc
DESCRIPTION
These shell procedures are executed with entries in /etc/inittab by init
whenever the system is booted (or rebooted).
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, the brc procedure clears the mounted file system table, /etc/mnttab
and puts the entry for the root file system 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 will be
placed in the multiuser state with the /etc/rc2 procedure.
NOTES
These scripts should only be invoked by init.
These shell procedures may be used for several run-level states.
FILES
/etc/inittab
/etc/mnttab
CAUTIONS
The bcheckrc should always be executed before brc.
RELATED INFORMATION
Commands: fsck(8), init(8), rc2(8), shutdown(8)
2/94 - Intergraph Corporation 1