>> kld (4) ( FreeBSD man: Специальные файлы /dev/* )
- dynamic kernel linker facility
The LKM (Loadable Kernel Modules) facility has been deprecated in
and above in favor of the
This interface, like its
predecessor, allows the system administrator to dynamically add and remove
functionality from a running system.
This ability also helps software
developers to develop new parts of the kernel without constantly rebooting
to test their changes.
Various types of modules can be loaded into the system.
There are several defined module types, listed below, which can
be added to the system in a predefined way.
In addition, there
is a generic type, for which the module itself handles loading and
Fx system makes extensive use of loadable kernel modules, and provides loadable
versions of most file systems, the
client and server, all the screen-savers, and the
modules are placed by default in the
directory along with their matching kernel.
program can load either
or ELF formatted loadable modules.
program unloads any given loaded module, if no other module is dependent
upon the given module.
program is used to check the status of the modules currently loaded into the
Kernel modules may only be loaded or unloaded if the system security level
is less than one.
Device Driver modules
New block and character device
drivers may be loaded into the system with
Device nodes for the loaded drivers are automatically created when a
module is loaded and destroyed when it is unloaded by
You can specify userland programs that will run when new devices
become available as a result of loading modules, or existing devices
go away when modules are unloaded, by configuring
directory containing module binaries built for the kernel also
residing in the directory.
file containing definitions required to compile a
example source code implementing a sample kld module