doconfig(8)
NAME
doconfig − a program to aid system configuration
SYNTAX
/etc/doconfig [−c config_file] [−e ed_script]
DESCRIPTION
The doconfig shell script uses the sizer() program to help the user generate a configuration file for a new ULTRIX system kernel. The script prompts the user for a system name and if the name does not already exist, builds a system configuration file with that system name.
Whether the configuration file is built or not, the script then puts the user into an edit-configure-build loop 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. The following steps should be used for successful completion of doconfig:
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 directory. A new kernel will be built using the specified configuration file.
−e When specified, the configuration file will be edited using the ed script before building the new kernel.
FILES
/tmp/systemname
/sys/systemname
/sys/conf/systemname