freebsd-dev/usr.sbin/kldxref/kldxref.8
Peter Wemm 9c6f92408c Add kldxref(8), for maintaining the linker.hints file for translating
module->pathname.ko.  It supports only ELF for now.

Submitted by:   bp  (with some minor tweaks)
2001-09-11 01:13:15 +00:00

26 lines
643 B
Groff

$FreeBSD$
[DRAFT]
kldxref(8) used to generate linker.hints file which contains list of
modules, their version numbers and container KLDs. This file used by loader
and kernel linker.
Each directory with KLDs should have its own linker.hints file.
Typical invocation of kldxref utility may look like this:
kldxref /boot/kernel /modules
which will build hints file in both directories.
A recursive behaviour can be specified with -R option:
kldxref /boot
If no hint records written, hints file will not be created and old file
will be removed.
If -d flag specified then no files generated and program prints metadata
records to stdout.