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
KLDXREF(8) FreeBSD System Manager's Manual KLDXREF(8)

kldxrefgenerate hints for the kernel loader

kldxref [-Rdv] [-f hintsfile] path ...

The kldxref utility is used to generate hint files which list modules, their version numbers, and the files that contain them. These hints are used by the kernel loader to determine where to find a particular KLD module.

A separate hint file is generated for each directory listed on the command line that contains modules. If no hint records are generated for a particular directory, no hint file is created, and the preexisting hint file (if there was one in that directory) is removed.

kldxref ignores files with at least two "."s in the filename, such as foo.ko.debug or bar.ko.pkgsave. Note that this means that modules cannot have names such as foo.bar.ko. This limitation however, has been lived practice since the beginning of FreeBSD's kernel modules.

The following options are available:

Recurse into subdirectories.
Do not generate a hint file, but print module metadata on standard output.
hintsfile
Specify a different name for the hints files than linker.hints.
Operate in verbose mode.

To build hint files for both standard and add-on modules:

kldxref /boot/kernel /boot/modules

To build hint files for all installed kernels:

kldxref -R /boot

kld(4), kldconfig(8), kldload(8), kldstat(8), kldunload(8)

The kldxref utility first appeared in FreeBSD 5.0.

The kldxref utility was implemented by Boris Popov <bp@FreeBSD.org>. This manual page was written by Boris Popov <bp@FreeBSD.org> and Dag-Erling Smørgrav <des@FreeBSD.org>.

February 25, 2023 FreeBSD 14.3-RELEASE

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 ManDoc.