Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wsinit(7) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

display(7)

wsinit(7)                       (RM400 only)                      wsinit(7)

NAME
     wsinit - make console devices and init graphics console

SYNOPSIS
     wsinit [-f]

DESCRIPTION
     wsinit is run early in the system startup via /etc/inittab. Its main
     purpose is to build the graphics' console STREAMS multiplexer, but it
     is also used to relink /dev/console et al. to its proper device.

     When started, wsinit checks the console byte and the teleservice flags
     in NVRAM to see what kind of console the system should use. It then
     removes /dev/console, /dev/syscon, /dev/systty and /dev/contty, and
     relinks them with the proper device (either /dev/consgraf,
     /dev/constty, /dev/ttyc1 (teleservice) or /dev/null).

     If the console byte indicates a graphics console, wsinit proceeds to
     build the STREAMS multiplexer. Therefore, the file
     /etc/default/workstations is read to find out which driver is to be
     linked below the multiplexer, and how the device files for the upper
     part of the multiplexer are to be named.

     Then, all entries in /dev that have the multiplexer's major number are
     removed, and new device entries are created according to
     /etc/default/workstations. The new devices are linked to the driver
     devices via the IPLINK ioctl in order to build the multiplexer confi-
     guration.

OPTIONS
     -f   Force building of the STREAMS multiplexer even if the console
          byte in NVRAM says that we don't have a graphics console.

DIAGNOSTICS
     The wsinit command will try to do its task even if some things fail.
     It will partially fail under the following conditions:

     -  If /dev/nvram cannot be found or read.

     -  If the console devices cannot be removed.

     -  If the console devices cannot be created.

     -  If the multiplexer devices cannot be removed.

     -  If the multiplexer devices cannot be created.

     -  If the multiplexer devices cannot be linked via IPLINK.

NOTES
     wsinit will fail partially if the root filesystem is mounted read
     only, which happens if it is dirty. However, the STREAMS multiplexer



Page 1                       Reliant UNIX 5.44                Printed 11/98

wsinit(7)                       (RM400 only)                      wsinit(7)

     is built, and console I/O is possible. It is not possible to change
     the console device while the root filesystem is dirty.

FILES
     /dev/console

     /dev/syscon

     /dev/systty

     /dev/contty

     /dev/nvram

     /etc/default/workstations

     /etc/inittab

SEE ALSO
     display(7).


































Page 2                       Reliant UNIX 5.44                Printed 11/98

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