Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ powerfail(1M) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fsck(1M)

init(1M)

mirror(1M)

shutdown(1M)

inittab(4)

mirrortab(4)

mnttab(4)

BRC(1M)  —  Series 800 Only

NAME

brc, bcheckrc, mirrorrc, rc, powerfail − system initialization shell scripts

SYNOPSIS

/etc/brc

/etc/bcheckrc

/etc/mirrorrc

/etc/rc

/etc/powerfail

Remarks:

The mirror disk features described on this page require installation of optional Data Pair 800 software (not included in the standard HP-UX operating system) before they can be used. 

DESCRIPTION

These shell procedures are executed via entries in /etc/inittab by init(1M). Bcheckrc, brc and mirrorrc are executed when the system is changed out of SINGLE USER mode.  Rc is executed upon entering a new, numbered, run-level.  Powerfail is executed whenever a system power failure is detected. 

The brc procedure clears the mounted file system table, /etc/mnttab (see mnttab(4)), and loads any programmable micro-processors with their appropriate scripts.

The bcheckrc procedure performs all the necessary consistency checks to prepare the system to change into multi-user mode.  It will prompt to set the system date and to check the file systems with fsck(1M).

The mirrorrc procedure sets up mirror disk pairs based on information contained in /etc/mirrortab(4). It invokes mirror(1M) to configure the mirror pairs and, if necessary, to reimage the mirrors for data consistency. It is run by bcheckrc before fsck is run. 

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), mirror(1M), shutdown(1M), inittab(4), mirrortab(4), mnttab(4). 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

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