GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  KLDLOAD (8)

NAME

kldload - load a file into the kernel

CONTENTS

Synopsis
Description
Notes
Files
Exit Status
Examples
Automatically Loading Modules
See Also
History
Authors

SYNOPSIS

kldload [-nqv]

DESCRIPTION

The kldload utility loads file .ko into the kernel using the kernel linker. Note that if multiple modules are specified then an attempt will be made to load them all, even if some fail. The .ko extension name is not mandatory when loading a given module using kldload. It does not hurt to specify it though.

If a bare filename is requested it will only be loaded if it is found within the module path as defined by the sysctl kern.module_path. To load a module from the current directory it must be specified as a full or relative path. The kldload utility will warn if a module is requested as a bare filename and is present in the current directory.

The following options are available:
-n Do not try to load module if already loaded.
-v Be more verbose.
-q Silence any extraneous warnings.

NOTES

The kernel security level settings may prevent a module from being loaded or unloaded by giving Operation not permitted.

FILES

/boot/kernel
  directory containing loadable modules. Modules must have an extension of .ko.

EXIT STATUS


.Ex -std

EXAMPLES

To load by module name:
Gt] kldload foo

To load by file name within the module path:

Gt] kldload foo.ko

To load by relative path:

Gt] kldload ./foo.ko

To load by full path:

Gt] kldload /boot/kernel/foo.ko

AUTOMATICALLY LOADING MODULES

Some modules (pf, ipfw, ipf, etc.) may be automatically loaded at boot time when the corresponding rc.conf(5) statement is used. Modules may also be auto-loaded through their addition to loader.conf(5).

SEE ALSO

kldload(2), loader.conf(5), rc.conf(5), security(7), kldconfig(8), kldstat(8), kldunload(8)

HISTORY

The kldload utility first appeared in
.Fx 3.0 , replacing the lkm interface.

AUTHORS


.An Doug Rabson Aq dfr@FreeBSD.org
Search for    or go to Top of page |  Section 8 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.