xref: /freebsd-src/usr.sbin/kldxref/kldxref.8 (revision 9c6f92408c29a8980e7aec26a2590087c3b3d8ed)
1$FreeBSD$
2
3[DRAFT]
4
5kldxref(8) used to generate linker.hints file which contains list of
6modules, their version numbers and container KLDs. This file used by loader
7and kernel linker.
8
9Each directory with KLDs should have its own linker.hints file.
10
11Typical invocation of kldxref utility may look like this:
12
13kldxref /boot/kernel /modules
14
15which will build hints file in both directories.
16
17A recursive behaviour can be specified with -R option:
18
19kldxref /boot
20
21If no hint records written, hints file will not be created and old file
22will be removed.
23
24If -d flag specified then no files generated and program prints metadata
25records to stdout.
26