unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (NetBSD-2.0)
Page:
Section:
Apropos / Subsearch:
optional field

LKM.CONF(5)                 BSD File Formats Manual                LKM.CONF(5)

NAME
     lkm.conf -- loadable kernel module configuration file

DESCRIPTION
     The lkm.conf file specifies loadable kernel modules, see lkm(4), that are
     to be loaded a boot time.  The lkm.conf file is processed by /etc/rc.lkm
     at system boot time, if it exists.

     Each line of the file is of the form
           path options entry postinstall output when

     Except for the path, all other fields can be "-" to indicate empty.

     The path is either an absolute pathname, or the name of a file in /lkm or
     /usr/lkm that is the LKM to be loaded.

     The options are some combination of the -d and -v options to modload(8).

     The entry is the C symbol to call to initialize the module, defaulting to
     xxxinit().

     The postinstall script is run after the LKM is installed.

     The output of the ld(1) command is stored in output.

     The when field specifies at which time in the startup process the LKM is
     loaded.  There are three predefined values which correspond to three
     points in the processing of the system startup script /etc/rc:

     BEFORENET
          Before networking is started. This works only if the /usr file sys-
          tem can already be mounted at this time.

     BEFOREMOUNT
          Before all file systems listed in /etc/fstab are mounted (the /usr
          and /var file systems are already present).

     AFTERMOUNT
          After all file systems are mounted.

     A "-" entry defaults to BEFORENET.

FILES
     /etc/lkm.conf, /etc/rc, /etc/rc.d/lkm, /etc/rc.lkm

SEE ALSO
     lkm(4), modload(8)

HISTORY
     The lkm.conf file appeared in NetBSD 1.3.

BSD                            November 8, 2000                            BSD