Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

init(1M)

shutdown(1M)

inittab(4)

mtab(4)

rc(1M)

NAME

rc, bcheckrc, powerfail, rc.boot, rc.single − system initialization shell scripts

SYNOPSIS

/etc/bcheckrc

/etc/rc

/etc/rc.boot

/etc/rc.single

/etc/powerfail

DESCRIPTION

These shell procedures are executed via entries in /etc/inittab by init(1M). 

The rc.boot procedure is executed before entering single or multi-user modes. It will run fsck(1M) on the root file system. It will then run the rc.single script if the fsck was successful. 

The rc.single procedure remounts the root file system read-write, then clears the mounted file system table, /etc/mtab (see mtab(4)).  The rc.single procedure is automatically invoked by rc.boot (if the fsck is successful) and by rc (if rc.single has not previously been run).  rc.single can be invoked manually if write access is required on the root file system after a failure of rc.boot. 

The bcheckrc procedure performs all the necessary consistency checks to prepare the system to change into multi-user mode.  It will check the file systems with fsck(1M).  It is invoked from inittab prior to going into multi-user mode. 

The rc procedure starts all system daemons before the terminal lines are enabled for multi-user mode.  In addition, file systems are mounted and accounting, error logging, system activity logging and the Remote Job Entry (RJE) system are activated in this procedure. 

The powerfail procedure is invoked when the system detects a power failure condition.  Its chief duty is to reload any programmable micro-processors with their appropriate scripts, if suitable.  It also logs the fact that a power failure occurred. 

SEE ALSO

fsck(1M), init(1M), shutdown(1M), inittab(4), mtab(4). 
 

CX/UX Administrator’s Reference

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026