BRC(1M) (Essential Utilities) BRC(1M)
NAME
brc, bcheckrc - system initialization procedures
SYNOPSIS
/etc/brc
/etc/bcheckrc
DESCRIPTION
These shell procedures are executed via entries in
/etc/inittab by init(1M) whenever the system is booted (or
rebooted).
The bcheckrc procedure executes the following steps:
1. Sets and exports the time zone (TZ) variable.
2. Prompts for the date if any of the following is true:
There is no time-of-day clock,
the time-of-day clock is invalid,
explicit confirmation of the date is requested. (The
variable confirm-date is assigned a value of zero by
default. If an explicit date confirmation is needed
every time the system is booted, a non-zero value must
be assigned to this variable.)
3. Checks the status of the root file system. If the status
of the root file system is found to be bad, it is
automatically repaired.
4. Clears the mounted file system table /etc/mnttab and
makes an entry for the root file system in the mount
table.
The brc procedure copies the old advertise table /etc/advtab
(related to RFS) to /etc/oadvtab and then creates a new
/etc/advtab file with the appropriate permissions.
Page 1 May 1989
BRC(1M) (Essential Utilities) BRC(1M)
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 multi-
user state via the /etc/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).
Page 2 May 1989