You must change directory to /etc/conf/cf.d to execute configure.
Resources are modified interactively or with command-line arguments.
The next section discusses how to use configure interactively. Command line options are discussed in the ``Command line options'' section.
Before using configure
to modify the system configuration files,
use the following command to make a backup copy of the kernel:
cp /unix /unix.old
When you invoke configure interactively, select the parameter category that you want to reconfigure by entering its number.
Each category contains a number of configurable resources. Each resource is presented by displaying its name, a short description, and its current value. To keep the current value, enter <Return>. Otherwise, enter a value for the resource followed by <Return>.
configure checks each value to make sure that it is within the range defined in mtune(F). If it is not, configure warns you that the value is inappropriate and asks you to confirm that you want to override the recommended value.
To exit from configure, enter ``q'' at the category menu prompt. If any changes are made, configure asks if it should update the configuration files with the changes. To keep the old configuration values, enter ``n'' at this prompt, and no changes are made. Otherwise, enter ``y'' and configure updates the required configuration files. After configure has completed, the kernel is ready for linking.
To link the kernel, enter:
cd /etc/conf/cf.d
./link_unix
Linking may take a few minutes.
After the kernel is linked, enter the following
command to reboot the system to run the new kernel:
/etc/shutdown
Follow the prompts for shutting the system off. Next, you see the boot prompt:
Boot :Press <Return>. The system is now running the new kernel.
You can alter kernel parameters from the command line. There is also an option for querying the current kernel configuration.
configure uses the following options:
If one or more instances of resource=value are the only arguments on the command line, the changes are made non-interactively. If the values given are outside the permissible range for a parameter, no action is taken unless the -o or -w option is included to override them.
Some resources have values that are character strings.
In this case, their values must be enclosed within a pair of the characters
\ ".
The quotes are syntactically necessary for them to be used as C-language
strings, and the backslashes protect the quotes from being
removed by the shell.
Print the current value of the number of system buffers (NBUF):
configure -y NBUF
Change the current value of the number of system buffers
(NBUF) to 512:
configure NBUF=512
Print the current value of the number of I/O
mappings for European character mapping support
(NEMAP) to 20 (note that the recommended
maximum is 15):
configure -o NEMAP=20