doconfig(8)
NAME
doconfig − a program to aid system configuration
SYNTAX
/etc/doconfig [-c config_file] [-e ed_script] [-p path]
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 will prompt the user for a system name and will build a system configuration file with that system name (if the name does not already exist).
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. The user can then shut down his system and reboot newvmunix. Additional runs of doconfig can be made to further tune the configuration.
The following flags may be specified with doconfig:
−c The name of an existing configuration file should be supplied. 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.
−p An optional alternate root path may be specified. The configuration to be build will be located relative to the root path. This option is intended for use primarily with setting diskless client areas. The default root path is /.
When new hardware is added, a new configuration file should be created. If you use the doconfig program to build a new configuration file, you should be running a vmunix kernel which is the same as the genvmunix. Otherwise, new hardware may not be found. Therefore, save the running vmunix as vmunix.old, for example, and then temporarily mv() /genvmunix to /vmunix, reboot the system to single user mode, check file systems and mount the /usr file system. Then, run the doconfig program. Be sure to save /vmunix as /genvmunix again, before booting the newly configured vmunix.
FILES
/tmp/systemname
/sys/systemname
/sys/conf/systemname