4.3 Modifying the kernel configuration

Each line in the new configuration file will enable some device or capability in the resulting kernel.

It is a good idea to change the kernel identification, so that commands like uname -a will report the actual kernel in use. Look for the line that starts with 'ident' and change the GENERIC label to whatever name used for this new configuration file.

    ident          MYKERNEL

Documentation for each command in the config file can be found in the (long) LINT file, located at /usr/src/sys/i386/conf/LINT. Most of the lines in a custom configuration copied from GENERIC do not need to be changed. New lines can be added at the bottom of the new configuration file.

Contact the Documentation Team for comments, suggestions and questions about this document.