Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ed(1)

config(8)

doconfig(8)

NAME

doconfig − a program to aid system configuration

SYNTAX

/etc/doconfig [−c config_file] [−e ed_script]

DESCRIPTION

The doconfig shell script modifies a copy of the GENERIC configuration file for a new ULTRIX system kernel.  The script prompts you for the system name. If the system name does not currently exist, a system configuration file with that system name is built.

Whether the configuration file is built or not, the script then allows you to edit, configure, and build until both the configuration and the kernel build run without errors.  Additional runs of doconfig can be made to tune the configuration further.

When new hardware is added to a system, the configuration file should be updated to reflect the new system configuration.  When updating an existing configuration file or creating a new configuration file with doconfig, the system must be operating the generic kernel or new hardware may not be found.  To successfully complete the doconfig process, use the following steps:

1.Save the running vmunix as vmunix.old. 

2.Move /genvmunix to /vmunix. 

3.Reboot the system to single user mode. 

4.Check file systems. 

5.Mount the /usr file system. 

6.Run the doconfig program.  (When execution is complete, make a note of the message doconfig prints showing the path and location of the new vmunix.)

7.Move /vmunix to /genvmunix. 

8.Copy the new vmunix (from the message noted above) to /vmunix. 

9.Reboot the system. 

OPTIONS

−c The name of the existing configuration file should be supplied without specifying the pathname.  This file should exist in the /sys/conf/mips directory.  A new kernel is built using the specified configuration file.

−e When specified, the configuration file is edited by the ed script before building the new kernel. 

FILES

/tmp/systemname
/sys/b.mips/systemname
/sys/conf/mipssystemname

SEE ALSO

ed(1), config(8)
Installation Guide

Maintenance

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