Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ bcheckrc(ADM) — OpenDesktop 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

boot(HW)

fsck(ADM)

init(M)

rc2(ADM)

shutdown(ADM)


 bcheckrc(ADM)                 06 January 1993                  bcheckrc(ADM)


 Name

    bcheckrc - check and mount root filesystem at system initialization

 Syntax

    /etc/bcheckrc [ -a ]

 Description

    bcheckrc is a shell script executed via an entry in /etc/inittab by
    init(M) whenever the system is booted (or rebooted).

    First, bcheckrc checks the status of the root filesystem.  If the root
    filesystem is found to be bad, bcheckrc repairs it using fsck(ADM).  When
    invoked with the -a (autoboot) flag, bcheckrc will run without operator
    intervention. init calls bcheckrc with the -a flag when the system auto-
    boots.

    Next, bcheckrc clears the mounted filesystem table, /etc/mnttab, and puts
    the entry for the root filesystem into the mount table.

    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.

 See also

    boot(HW), fsck(ADM), init(M), rc2(ADM) and shutdown(ADM).


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