The modload command loads the loadable module filename into the running system.
filename is an object file produced by ld -r. If filename is an absolute pathname then the file specified by that absolute path is loaded. If filename does not begin with a slash
(/), then the path to load filename is relative to the current directory unless the -p option is specified.
The kernel's modpath variable can be set using the /etc/system file. The default value of the kernel's modpath variable is set to the path where the operating system was loaded. Typically this is /kernel /usr/kernel.
For example, the following command looks for ./drv/foo:
The following command looks for /kernel/drv/foo and then /usr/kernel/drv/foo:
example# modload -p drv/foo