check and mount root and boot filesystems at system initialization
/etc/bcheckrc [ -a ]
bcheckrc is a shell script executed via
an entry in /etc/inittab by
whenever the system is booted (or rebooted).
When the system autoboots,
init calls bcheckrc with the -a
option so that bcheckrc will run without operator intervention.
The main actions performed by bcheckrc are:
If the system has not autobooted, run
to allow a system memory image (kernel panic dump) to be copied
from the swap area to floppy disk or tape
Check the status of the root and boot
filesystems and repair these, if necessary, using
Clear the mounted filesystem table,
/etc/mnttab, put the entry for the root
filesystem into the mount table, and mount the boot
Start the system logger daemon,
After running bcheckrc,
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
via the /etc/rc2 procedure.
bcheckrc may be used for several run-level states.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005