Cover V03, I02
Article
Figure 1
Sidebar 1
Sidebar 2
Table 1

mar94.tar


Sidebar: /etc/conf Directories

The following directories contain files for building new UNIX kernels. Every one of them is in /etc/conf.

cf.d
This is the primary configuration directory. It contains the most important files for kernel configuration: mdevice(4), the master device driver list sdevice(4), the special device driver list that further specifies the devices in the mdevice file, mtune(4), the master kernel tunable parameters list, stune(4), the special tunable parameters list that identifies local parameter characteristics for the mtune file, mfsys(4), the master list of file system types known to the kernel, sfsys(4), the special list of file systems known to mfsys that identifies whether to configure the kernel for each filesystem, init.base, the master list of inittab(4) settings, unix, a duplicate copy of the latest version of the kernel.

init.d
This directory may be empty. It contains files holding any special inittab settings. The system combines these settings with /etc/conf/cf.d/init.base when the system is rebooted after a kernel rebuild.

mfsys.d
This contains configuration files for every filesystem type recognized by the kernel. Esix lists rfs, Xenix, bfs, events, fdfs, fifofs, namefs, nfa, nfs, proc, s5, specfs, ufs, and xnamfs.

node.d
In this directory are device driver node configuration files. These files contain the driver name, the /dev node names, the type of device (character or block), and the minor device number. When the system reboots after a kernel rebuild, the /dev directory nodes are created from this node list.

pack.d
Inside this directory is a set of subdirectories. Each subdirectory is named for one major device driver. Within each subdirectory is that driver's compiled code, always named Driver.o. These object files are linked into the kernel and the /dev nodes point to them by their major and minor device numbers. Within the subdirectories may be other support files named space.c and stubs.c that provide driver support code or definitions. The subdirectories may contain other files as needed by specific drivers.

rc.d
Within this directory are any special run commands. They may be added to an rc file to initialize special devices.

sdevice.d
Each file in this directory is named after a major device. Each file contains the sdevice settings for that device driver's minor devices.

sfsys.d
Each file in this subdirectory contains the sfsys active or inactive configuration setting.