https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250828
Ed Maste <ema...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ema...@freebsd.org --- Comment #1 from Ed Maste <ema...@freebsd.org> --- default linker path in the kernel is (from sys/kern/kern_linker.c): static char linker_hintfile[] = "linker.hints"; static char linker_path[MAXPATHLEN] = "/boot/kernel;/boot/modules"; SYSCTL_STRING(_kern, OID_AUTO, module_path, CTLFLAG_RWTUN, linker_path, sizeof(linker_path), "module load search path"); TUNABLE_STR("module_path", linker_path, sizeof(linker_path)); static const char * const linker_ext_list[] = { "", ".ko", NULL }; Typically the actual module path will be determined by the loader and passed as module_path. >From stand/defaults/loader.conf: module_path="/boot/modules;/boot/dtb;/boot/dtb/overlays" # Set the module search path and logic in stand/lua/config.lua or stand/forth/support.4th On my -CURRENT laptop: $ sysctl kern.module_path kern.module_path: /boot/20201009;/boot/modules;/boot/dtb;/boot/dtb/overlays -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"